here s my problem: i want to have a button that will be displayed into an email. When i click that button, i want it to open into a new frame my site but also open another URL into a specific location like mainFrame. The thing is, i dont know how to tell flash to open the 2nd url into the mainFrame of the new window it just opened…
Uli, you can do this by adding the following code:
// enter your email address
on (release) {
getURL("mailto:youremail@hotmail.com", “_blank”);
}
// go to frame 1. Enter the frame number (in this case 1), or
// the frame label (you wish to use mainFrame.)
on (press) {
gotoAndPlay(1);
}
If this starts playing through your frames, then try using gotoAndStop() instead of gotoAndPlay().
If you mean actually controlling seperate html frames, just use html to name the frames in your html frameset file. Then use multiple getURL with different targets on your button…
Remember though, if this is being directed from an email, you will need to use absolute url references with the whole URL, like http://www.etc.com/etc.html rather than just the file name like etc.html
Hope that helps, maybe…
Cheers!
FW
(ps) 3 different answers (so far), & all could be right… See how important it can be to phrase your question with as much detail as possible to make sure we understand what you mean…