Do you have to enable export for actionscript, to be able to recall it when you save a swf, how do you recall it, Do you have to import it into the libary so that you can use load movie. Or do you have to keep the swf (s) you are going to load in a special file. I hope this is clear enough
I’m not quite sure what you’re trying to ask, but when you save your flash file, it saves as an fla which is the original in which you can come back and edit. When you export it saves it as a swf file which contains all your actionscripts that you’ve used. So if you want to load it into another movie, you would use the loadmovie action something like this:
loadMovie ("your.swf", "/Load");
So if you have a swf named “your” it will be loaded into a empty container movie clip called “Load”
To better understand this, try the tutorial on this site on how to build a full flash site and if you have questions then feel free to post them as you go. Here’s the link. =)
Thanks for that info, i’ve done that tutorial many times to no, results. It didn’t load the swfs, do you have to tell flash were to find the files?
Yes you do have to tell flash where the swf(s) are, flash is powerful but it can’t read minds. =) I usually keep all my swf(s) together in the same folder so when you apply the loadmovie action, you only need to state the swf’s name instead of stating the entire path.
Thanks again for the reply, so if i have 5 swfs in a folder somewhere on a disc, if i open the main swf into flash, and then use the load movie, does flash no the folder that you open the swf, now on the stage, holds the other movies as well.
As long as the file you opened up in flash is in the same folder with the other 5 swfs then flash should be able to read it.