Linking/assign a flash button

first of all, im using front page program to import my swf file. now, how can i assign my flash button to go to front page file?

It’s done in Flash.

attach this code to a button

on(release){
getUrl(“http://www.mysite.com/something.htm”,_blank);
}

you can use full addresses or partial ones if you know the path to the file. The second statement in the brackets “_blank” opens the file in a new window, but you can also use _self, and _parent… there are a bunch of options for windows that you’ll see if you look at the command in basic scripting mode.

If you want to know how to set your buttons from outside of Flash, that becomes a little more tricky.