all groups > flash actionscript > august 2007 >
You're in the

flash actionscript

group:

pop-up html window with standar dimentions



pop-up html window with standar dimentions g_t_giannis
8/23/2007 7:17:58 PM
flash actionscript: Hi everybody,
i have this problem i know how i can open a deferent html page inside flash.
i create a button and the script looks like this:

on (release) {
getURL("test.html", "_blank");
}

my problem is if i want to open the html page like pop-up window with
lock dimantions for example 500*400 pixels how i can do it?
please help me because it is very important to find a way...

Re: pop-up html window with standar dimentions William0275
8/23/2007 7:24:51 PM
You simply need to call a JavaScript function which is on your html page. For
example:

on (release) {
getURL("javascript:openMyWindow('test.html')");
}

and have your function call window.open() with all the required parameters.
Re: pop-up html window with standar dimentions g_t_giannis
8/23/2007 8:26:12 PM
Re: pop-up html window with standar dimentions g_t_giannis
8/24/2007 12:48:35 AM
Re: pop-up html window with standar dimentions g_t_giannis
8/24/2007 12:48:53 AM
AddThis Social Bookmark Button