Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-22-2005, 02:08 PM   #1
Shuai
Registered User
 
Join Date: May 2005
Posts: 13
Default Importing SWF files into a Flash File

Hi ActionScript.org persons,
I am part of a team called CloudCast Studios ( but that doesn't matter now ). What I am trying to do is take a swf file that my friend sent me and put it into another flash document. I want to do this because I need to add some of the animations we have made into a whole collection. Is this possible, and if so, how would I go about doing it without getting the flash file itself?

Thank you!
Shuai is offline   Reply With Quote
Old 06-23-2005, 09:36 AM   #2
electra
Registered User
 
Join Date: Apr 2004
Posts: 5
Default

Do you simply want to add the swf in its current form to a new movie? I think I may be misunderstanding the question....
If I am understanding, do this:
Add a empty movie clip to your new fla and give the MC an instance name (such as container). Place the empty MC on your stage where you want the already finished swf to appear then use loadmovie to load the swf file into your new fla.
ActionScript Code:
loadMovie("oldmovie.swf",container);

I hope this helps. Good luck.
electra is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:43 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.