This content has been marked as final. Show 5 replies
> The errors i get is right here, who can help me convert it
> to AS2.0?
> **Error** Symbol=script, layer=script, frame=2:Line 2:
> Unexpected '/' encountered
> /:trigger = Number(/:trigger)+Number(/:trigger);
As the error shows, you're using a character that doesn't make sense to
the compiler in this context. That character is a slash (/). What you've
got here is a case of old school slash syntax, which is the way objects and
movie clips were referenced in Flash 3 and 4. See details here:
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."
first of all is /:trigger exceptionable by AS2.0 and what does it do. i think it would be easier to make a var
var trigger (minus the /:)
I know that will work
So.. i have to change every /:trigger to var trigger?
But what about the line: Number(/:trigger)+Number(/:trigger);
> So.. i have to change every /:trigger to var trigger?
No .. that was bad advise .. you need to change the '/:' into '_root.'
ahh, see i didn't know that "/:" was equal to "_root".