Log in

View Full Version : error while exporting



remp
12-19-2007, 05:42 PM
hello, i don't know much about flash but i get an error while exporting my file.
**Error** Scene=Scene 1, layer=links, frame=4:Line 1: Syntax error.
onRelease{

**Error** Scene=Scene 1, layer=links, frame=4:Line 3: Statement must appear within on handler
};

Total ActionScript Errors: 2 Reported Errors: 2

i had it working and all of a sudden it dones't work now... its a simple link to a website, what is wrong this this?

The code:
on (release) {
getURL("http://www.mydomain.com");
}

BLiZZaRD
12-19-2007, 06:29 PM
Different codes..

post all the AS from the layer you named "links" here and we will have a better look. The error and the code you posted don't seem to be talking about the same spot. :)

remp
12-19-2007, 06:39 PM
You were right.. that error what not from that code... i figured out which one it was Thanks...

BLiZZaRD
12-19-2007, 06:41 PM
No problem :)