Hello - this seems like it would be pretty easy, but I couldn't figure it out from searching through Flash's help documentation.
I'm using Flash CS3 and AS2.0. I'm using the loadMovie function to load an external swf into an empty movieclip. The problem is that the external swf is bigger than the frame I am loading it into, so I'd like to load it in with specific width/height parameters (basically load it in and scale it down).
What would be the loadMovie command to do that with?
You need to wait for the movie to load before you can change its size. To know that the movie is loaded you want to use the MovieClipLoader.loadClip method instead of loadMovie. The loadClip method supports having an evemt listener so that you can know when the file is loaded and ready to use. If you look up the MovieClipLoader.addListener method in the help docs, there is an example there that should get you thru most of it. It uses an onLoadInit event listener which is what you'll want to use since you need to wait for the swf file to be loaded and ready for use before you try to affect it.
Makes sense - thanks!