-
1084: Syntax error: expecting identifier before semicolon.
Please help! I cannot get this script to work, I have tried everything. What identifier before semicolon??????
If somebody knows what I need to do to fix this, I will be so thankful!
Here's the code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var curShotglassXPos:Number=btn1.x;
var duration:Number=1.5;
function shotglassFollow(event:MouseEvent):void{
var shotglassTween:Tween=new Tween(shotglass,"x",Strong.easeOut,curShotglassXPo s,event.target.x,duration,true);
curShotglassXPos;event.target.x;}
btn1.addEventListener(MouseEvent.ROLL_OVER,shotgla ssFollow);
btn2.addEventListener(MouseEvent.ROLL_OVER,shotgla ssFollow);
btn3.addEventListener(MouseEvent.ROLL_OVER,shotgla ssFollow);
btn4.addEventListener(MouseEvent.ROLL_OVER,shotgla ssFollow);
btn5.addEventListener(MouseEvent.ROLL_OVER,shotgla ssFollow);
-
There's spaces in the last 5 lines in the word shotglass.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules