PDA

View Full Version : how to do multi button linking to multi webpages in a single movie


cybeijing
11-29-2003, 05:50 PM
All I know from the web resource is how to do a single pop up window using script and some coding in the html file housing the swf file.

If I want have more than one button in my movie, and I want them to pop up different browser windows, what should I do?

Thanks a lot!!

pellepiano
11-29-2003, 06:03 PM
on(release){
getUrl("javascript:window.open('http://www.mysite.com/image1.html','window1','width=420,height=420,top=0 ,left=0'); void(0);")
}

...and specify a new window name for each button.