Jump to content

Recommended Posts

This is my music player so when i edit this in sothink swf quicker it finds the error but in adobe cs5 it works fine but i cant edit all the txt in cs5 strange flash file i am hoping i somehow can fix this player problem.

error msg:

ERROR: Symbol 'Symbol 677', Layer 1, Frame 2, Line 18: Syntax error.

        else

 

 

f (action eq "play")
{
    actiontxt = "playing tr. ";
    status = actiontxt add playtrack;
    tellTarget("tracks")
    {
        gotoAndStop("track" add eval("../:playtrack"));
        tellTarget("")
        {
            gotoAndPlay(3);
            tellTarget("")
            {
                tellTarget("")
                {
                } // End of TellTarget
            } // end else if
        }
        else
        {
            scale = "0";
            down = "9";
            actiontxt = "stoped tr. ";
            status = actiontxt add playtrack;
            gotoAndStop(3);
        } // End of TellTarget
    } // End of TellTarget
} // End of TellTarget

Link to comment
https://forums.phpfreaks.com/topic/222592-syntax-error-in-flash/
Share on other sites

  • 3 weeks later...

your braces are all messed up.

 

I'm going to assume that the f at the start is infact supposed to be an if.

 

Here is the code with the braces fixed up:

f (action eq "play")
{
    actiontxt = "playing tr. ";
    status = actiontxt add playtrack;
    tellTarget("tracks")
    {
        gotoAndStop("track" add eval("../:playtrack"));
        tellTarget("")
        {
            gotoAndPlay(3);
            tellTarget("")
            {
                tellTarget("")
                {
                } // End of TellTarget
            }//end tellTarget
        }//end tellTarget
}//end tellTarget
}//end if
else
{
            scale = "0";
            down = "9";
            actiontxt = "stoped tr. ";
            status = actiontxt add playtrack;
            gotoAndStop(3);
}//end else

 

Try that.

 

Denno

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.