;

PDA

Click to See Complete Forum and Search --> : Putting 3 swf files in 1 swf


raspcave
09-06-2007, 03:41 AM
Hi. I'm new to this forum. Need help from you guys here.

I have 3 swf files which i want to place into 1 main swf, with 3 links in the main swf able to play the 3 swf respectively. Sort of like an archive of the 3 swf files, for placing into a powerpoint presentation.


I tried importing the 3 swf into a new file in Flash CS3, but only the symbols (not the actions) get imported.

Thanks in advance.

cancerinform
09-06-2007, 12:34 PM
You need to load the swfs into your main movie dynamically.

raspcave
09-06-2007, 12:58 PM
A helpful forumer offered the following code:

yourButton1.onRelease = function() {
holder1.loadMovie("movie1.swf");
}

yourButton2.onRelease = function() {
holder2.loadMovie("movie2.swf");
}

yourButton3.onRelease = function() {
holder3.loadMovie("movie3.swf");
}

Is that what you mean? I'm having a slight problem with it. After clicking button 1 and loading movie 1, clicking on button 2 loads movie 2 on top of movie 1. Can I remove movie 1 before loading movie 2?