Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Opening A New Browser Window



sebm
4/28/2004 7:51:30 PM
Im not sure if this is the right place to post this but anyway.

Ive been trying to make it so that a button opens up a new Browser Window with
options such as no scrollbars, menubar etc. like the behaviour in Dreamweaver,
but i cant seem to work it out. Is it possible? Im very grateful for any
help, thanks

Seb
Shades Dallas
4/29/2004 3:13:48 AM
You have to do this through JavaScript. Either you call a function that you
have on the same page as your flash movie, like this:
[b]
on(release) {
getURL("javascript:openWindow();");
}
[/b]
or, similarly, call the window method directly, like this:
[b]
on(release) {
getURL("javascript:window.open('page.html', 'win',
'width=300,height=150,scrollbars=0...');");
}
[/b]

/Shades
gus_vas
4/29/2004 3:43:30 AM
Flash Exchange "Easy Popup Windows, V3.0"
download the Component and install it with the "macromedia extension manager"

Author : wdglide site : http://home.swfla.rr.com/centerpopup

it work and is very easy to work with


http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn106&viewNa
me=Exchange%20Search%20Details&authorid=29557685&page=0&scrollPos=0&subcatid=0&s
nid=sn106&itemnumber=5&extid=419767&catid=0
AddThis Social Bookmark Button