-
1. Re: 1086: Syntax error: expecting semicolon before rightparen. ?
Mohanaraj Dec 2, 2014 7:01 AM (in response to courj001)Hi,
There is an additional right paren and a semicolon in that line causes the syntax error, please use
lastBildeHL.onLoadProgress = gotoAndPlay("Scene 1", numBytesLoaded:Number, numBytesTotal:Number):void
Thanks!
Mohan
-
2. Re: 1086: Syntax error: expecting semicolon before rightparen. ?
courj001 Dec 2, 2014 12:35 PM (in response to Mohanaraj)Thank you so much Mohan, I appreciate your help.
Thanks again,
Joe
-
3. Re: 1086: Syntax error: expecting semicolon before rightparen. ?
courj001 Dec 3, 2014 5:09 AM (in response to Mohanaraj)Hi there just added that line and when doing so I then got these errors:
Scene 3, Layer 'actions', Frame 5, Line 131 1084: Syntax error: expecting rightparen before colon. Scene 3, Layer 'actions', Frame 5, Line 131 1078: Label must be a simple identifier. Scene 3, Layer 'actions', Frame 5, Line 132 1084: Syntax error: expecting identifier before var. Scene 3, Layer 'actions', Frame 5, Line 132 1078: Label must be a simple identifier. Here are the actions:
lastBildeHL.onLoadProgress = gotoAndPlay("Scene 1", numBytesLoaded:Number, numBytesTotal:Number):void
var numPercentLoaded:Number = numBytesLoaded / numBytesTotal * 100;
Any help would be good
Thanks,
Joe
-
4. Re: 1086: Syntax error: expecting semicolon before rightparen. ?
Mohanaraj Dec 3, 2014 5:18 AM (in response to courj001)Hi Joe,
You have to introduce braces post line 131
please refer to the details about onLoadProgress (MovieClipLoader.onLoadProgress event listener) at Flash CS4 Professional ActionScript 2.0
Thanks!
Mohan
-
5. Re: 1086: Syntax error: expecting semicolon before rightparen. ?
courj001 Dec 3, 2014 5:53 AM (in response to Mohanaraj)Thanks Mohan
at this moment in time I think I may be out of my depth as I am finding the page you linked me to confusing, and I am not really sure how to fix my code.
Any help would be really good
Thanks,
Joe


