Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

actionscript calling in different swf's 1

Status
Not open for further replies.

TaiChi56

Technical User
Mar 6, 2002
188
US
I have fifteen swf's that must run right after each one to give an effect of a machine gun shooting and putting holes in the canvas.

Would I just use loadMovie and unLoadMovie to have each one run and would I use that on the mainmovie frame?

**Also if I wanted to give you the FLA to look at, what is the best way to show it? Could I put it up on a test website I have so you can download it? And if so how?

I know that is a lot of questions, just trying to learn. Thank you.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
put an empty clip on stage, give it an instance name and load the movies into that

loadmovie("1.swf",holder); //holder instance name

then in last frame of 1.swf

loadMovie("2.swf", holder);

and so on. no need for any unload actions as loading a new file into a clip automatically unloads the one already there.

yesy if you stick an fla on a server and post the url then people can download it.
 
Thank you. I will work on that. Yes, I must of had a brain fade. I knew that, about loading a file in the server. Thank you for reminding me.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
Guess that code as posted won't work... As you'll soon discover! [thumbsdown]

Regards,

cubalibre2.gif
 
You are right Oldnewbie. BillWatson sent me some other code. That works pretty good other than it looks glichy when it runs.

The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
 
You're lucky he did that...
Meanwhile, others reading this thread and having the same problem, won't be able to get it to work because of the misleading and incomplete info given out by this instructor!

Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top