In my main mc, I've got several empty mcs into which I am loading external .swfs, problem is that when they get loaded into the main mc, I need to call a function to prepare them for action (they load with everything visible, and activated) the function I have that loads them into the empty mc looks something like this:
function loadIn (fil, lod) {
loadMovie(fil, lod);
_root.unActivateProject (lod);
}
where _root.unActivateProject (lod) prepares the external .swf.
when _root.loadIn is called, it loads the .swf properly, but I think that the _root.unActivateProject () is coming too quickly after the initial call to load for it to have an effect on the mc as they end up loaded in their "activated" state. A temporary button which calls the unActivateProject function seems to do the trick, but needless to say, I'd prefer it do it on its own. Anybody have any ideas as to a remedy for this? My thought is that it may need a preloader of sorts to determine when it has finished loading and then invoke the unActivateProject function, but I haven't been able to get one to work (I must at this point admit, that the relatively simple beast known as a preloader is something that I have been unable to master, ever...) Anyways, if anybody has any ideas or suggestions, I would really appreciate any input...
tia
bugg
"there is a distinct difference between complex and complicated, but its slight and kinda tricky..."
function loadIn (fil, lod) {
loadMovie(fil, lod);
_root.unActivateProject (lod);
}
where _root.unActivateProject (lod) prepares the external .swf.
when _root.loadIn is called, it loads the .swf properly, but I think that the _root.unActivateProject () is coming too quickly after the initial call to load for it to have an effect on the mc as they end up loaded in their "activated" state. A temporary button which calls the unActivateProject function seems to do the trick, but needless to say, I'd prefer it do it on its own. Anybody have any ideas as to a remedy for this? My thought is that it may need a preloader of sorts to determine when it has finished loading and then invoke the unActivateProject function, but I haven't been able to get one to work (I must at this point admit, that the relatively simple beast known as a preloader is something that I have been unable to master, ever...) Anyways, if anybody has any ideas or suggestions, I would really appreciate any input...
tia
bugg
"there is a distinct difference between complex and complicated, but its slight and kinda tricky..."