Flash MX 2004 doesn't like this code:
But I can't figure out why. It tells me there is a syntax error.Code:getURL(http://www.games2go.co.uk,_blank,POST);
Flash MX 2004 doesn't like this code:
But I can't figure out why. It tells me there is a syntax error.Code:getURL(http://www.games2go.co.uk,_blank,POST);
Try this:
You'll need to define the values with quotes.Code:getURL("http://www.games2go.co.uk", "_blank");
b.t.w you wont need to use the POST value usless your passing variables to the target URL
Last edited by Best.Flash; 06-06-2004 at 04:19 AM.
I put that on because I originally thought the lack of it was the problem.
Flash is giving me this error with your code:
**Error** Scene=Scene 1, layer=Layer 4, frame=1:Line 1: Statement must appear within on handler
getURL("http://www.games2go.co.uk", "_blank");
Total ActionScript Errors: 1 Reported Errors: 1
Oh yer, if your attaching it to a button (check the top of the actions panel) you'll need to define an event handler ie.
on (release) {
getURL("http://www.games2go.co.uk", "_blank");
}
Last edited by Best.Flash; 02-26-2004 at 11:35 PM.
Bookmarks