Flash CS4 Error 1087 Syntax error: extra characters found after end of program.

If you get the error: "1087 Syntax error: extra characters found after end of program" in Flash CS4 first take a look if you use Action Scrip 2 and not Action Scrip 3. Unfortunately that didn't solve the problem for me. After hours and hours Googeling I almost become insane.

Finally I found the solution for this problem by placing the curly bracket at the beginning of the next line instead of his original place behind the ")".

I changed this:

on (release){
getURL(clickTag,"_blank");
}

in to this:
on (release)
{
getURL(clickTag,"_blank");
}

Now the error is gone.

Reply
The content of this field is kept private and will not be shown publicly.
CAPTCHA
Deze vraag is om te controleren of u een persoon bent. Di is om spam berichten tegen te gaan.