Ever used getURL(); for loading new pages in Flash? That’s how you load a new page. Obvious, huh?
In 97% of situations it works fine. The other 3% it doesn’t* I’ve had a rough ride with getURL unexplicably not functioning. Turns out that it works if you omit target parameter of the function call, it works. Remember that next time you get stuck…
* Please note, statistics are made up on the spot.
i’ve had the same problem, and for a reason or another, getURL wouldn’t work
so i had to move my code form the .as file onto the button itself…
i’ve seen people having problems with this even in flash 5… i was using flash cs3, publishing FP9, AS2
What is: ‘omit target parameter’?
How do you set this? Example?
it means that you write getURL(‘http://www.google.com/‘); instead of getURL(‘http://www.google.com/', ‘_blank’);
i had same problem.
alls.on(release){
//Replace URL with your own URL, or customized actions.
getURL(“http://www.filmsemestamendukung.com/index.php”, _blank);
};
// or
alls.onRelease{
//Replace URL with your own URL, or customized actions.
getURL(“http://www.filmsemestamendukung.com/index.php”, _blank);
};
also wont work.