PDA

View Full Version : Open new window in flash?


irvinggg
11-27-2005, 08:48 PM
Does anyone where i can have a blank SWF file where all it does it just open a link in another window.

Example: I have a band fan site, and everytime someone goes to the home page a new window is automatically open sending them to the bands official band site.

mrjenxx
11-27-2005, 09:21 PM
I guess you would do something like this make a action that you would put on a timeline or within a button but it would be something like this.

on (release) {
getURL("http://www.yahoo.com", "_blank");
}

go into your actions panel and in normal mode click the getURL then in the url box you type web-adderss, in the box under that window you put in _blank to pop it up in it's own window.

I'm very new to this as well so I hope I expllained it correctly.