CBaZ Posted December 24, 2010 Share Posted December 24, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/222592-syntax-error-in-flash/ Share on other sites More sharing options...
denno020 Posted January 11, 2011 Share Posted January 11, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/222592-syntax-error-in-flash/#findComment-1157919 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.