Results 1 to 2 of 2

Thread: 1084: Syntax error: expecting identifier before semicolon.

  1. #1
    Join Date
    Mar 2010
    Posts
    2

    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);

  2. #2
    Join Date
    Aug 2010
    Posts
    5
    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
  •