Depending on how you have the file set-up, you'll need to add a
*getURL* function. If the action is at the end of a timeline-oriented
animation, add the following URL to the last frame of the actionscript:
getURL("http://www.myurl.com","_blank");
If you use the "code helper" in the actionscript window, it will
present the variables you will need to include. This will work on all
recent versions of Flash. You can review all of the possible variables
of this command here:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001730.html [quoted text, click to view] starman29 wrote:
> hello i am creating a flash file, and at the end i want it to jump straight to a specific web page.
>
> can any on tell me what action script to use and how to enter the code.
> thanks.
You can use getURL('myurl');
Be warned, though, that this might get blocked by a browser, in which case
you'll need to make a button to manually foward you. On the button:
on(release){
getURL('myurl');
}