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");
}
**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");
}