Groups | Blog | Home
all groups > flash actionscript > february 2006 >

flash actionscript : opening a new browser window...


bso_71
2/14/2006 10:29:59 PM
How can I open a new browser window and call a specific html file?

Can I open this new window with a specific width and height through action script?

Thanks for any help received,

Brenda S.


albertbc
2/14/2006 10:39:21 PM
This opens a new window.
getURL ("http://www.domain.com/mypage.html", "_blank");

If you want to open the window with specific size you should call a javascript
function which does it. This javascript function should be in the html where
swf is embedded.
getURL ("javascript:MyOpeningWindowFunction()");

Albert.
FlashJester Support Team
2/15/2006 7:06:33 PM
Visit... http://www.flash-db.com/PopUp/

Create the window with the features you want or don't want!, generate the
code, and simply copy & paste the generated code on your Flash button. No
html stuff envolved here. Everything's in the Flash movie.

AddThis Social Bookmark Button