Or if you do want to resize it, use MovieClipLoader and a handler
(instead of loadMovie) and do the resize in the onLoadInit function --
example code in the 2nd blue box under MovieClipLoader on this page:
http://flash-creations.com/notes/dynamic_loadjpg.php
Helen
--
http://flash-creations.com
http://i-technica.com
j.c.wichman wrote:
Hi,
Do you mean as in masking?
If you don't want to resize the loaded swf, you could load it into a
scrollpane (with scrollbars dis or enabled), or you could apply a runtime
mask to your clip.
eg myLoadedClip.setMask (myViewportMask)
Greetz
Hans
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of a f
Sent: Thursday, February 02, 2006 3:57 PM
To: [email protected]
Subject: [Flashcoders] Constrain width and height of a swf into a MC
withloadMovieNum or loadClip or loadMovie ?
Hello,
I try to understand how to constrain a swf of width = 500 , height = 300 in
a movie-clip whose width=200 and height=247 without redimendionning the
*.swf.
(I know i will lose some visual information of the SWF, it is all right...)
Do you know how to do that ?
I just suceed to place the swf relative to a movie-clip with :
movieclip_container.loadMovie("file.swf", level) but not to constrain
this SWF to the movie-clip dimension.
Thank you
Tony
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders