PDA

View Full Version : tutorial: How to make a 800*600 flashpop-up in a full-screen flashmovie (100%*100%)?


bart
07-05-2001, 10:02 AM
Hi,

Maybe it is interesting to make a tutorial about: how to make a 800*600 flashpop-up in a full-screen flashmovie (100%*100%).
Most people know how to make a full-screen flashmovie and how to make a popup, but they don't know how to integrate them without resizing my flashpop-up.
An examle is how http://www.egomedia.com has done that.

Jesse
07-06-2001, 02:06 AM
Hmm I dun have time to make a tutorial on it but I did some research and this works well:
<script language="Javascript1.2">
<!--
function changeSize(width,height){
// self.moveTo(0,0); -- optional
self.resizeTo(width,height);
// sample call: changeSize(100,200)
}

//-->
</script>
Define that in the HEAD of the parent HTML file and then call it from a FLash button or keyframe, passing it a width and a height. See the Spawing Browse windows tutorial for an example on passing info to a javascript function.

keywords: javascript resize pop up window

bart
07-06-2001, 03:41 PM
thanks! I'm gonna 've a look....