PDA

View Full Version : Pop Up whith flash



barzagus
May 10th, 2002, 01:14 AM
Hy! I've a new question.
My site is all in flash and is 600*350 pixel.
I know that I can make HTML using flash... but this create a window very big with my flash work in the corner.
How can I make a window 600*350 with flash?
I should use dreamweaver? Is there a way to do it with flash?

ashidosan
May 10th, 2002, 05:23 PM
Write some JavaScript in the HTML that contains the .swf.



function popup(winurl,winname,winfeatures) {
var newwin = null;
newwin = window.open(winurl,winname,winfeatures);
setTimeout('newwin.focus();',250);
}


Call this from within the flash using getURL().

Example:



getURL("javascript: popup('popupwin.html','flashpop','width=600,height =350,location=0,menubar=0,scrollbars=0');");

barzagus
May 14th, 2002, 07:12 AM
Tanks YOU!!!!!!