Loading external swf file in a movie

I can’t find any tutorials on the web on this so I thought maybe someone on here might know how or maybe I just missed the one on this site.

I want to make a webpage in flash and have buttons on it that would showcase my animated cartoons I’ve done. For example, say the webpage is a giant TV with buttons on it. You click a button and then a cartoon from an external source (i.e. my webspace) loads on the TV screen.

Does anybody know how to do this or is this even possible?

Thanks.

Yeah that’s possible - loadMovie is used for that. It loads an swf to a movieclip on the stage. This will help: http://www.kirupa.com/developer/mx/full_site.htm

Thanks :slight_smile:

You’re welcome :slight_smile:

Is there any way to resize the movie inside the new one? So I don’t have to resize the original, but make it smaller when it plays on the webpage?

You can adjust the _width and _height / _xscale and _yscale of the loaded movie, but, that only works after the content (jpg/swf) has completely loaded. And, it’ll distort your movie also. The best, but also the most time consuming way is to manually resize it.

Ooh okay. If I have to manually resize them that might take me awhile. Might reconsider this idea. Thanks for your help, though.