PDA

View Full Version : Loading external clip and making it stay loaded


Bezirker
10-28-2002, 01:36 PM
Hi everyone

I have a little problem. I am trying to load an external swf into an empty mc that resides on main timeline on a particular keyframe.

I am partially successful, as the mc loads into my targer mc. I have a variable that gets initialized after the external mc is loaded, which is later used to prevent from loading that clip again.

The problem is that when I move on my main timeline (using buttons and corresponding labels) the external clip loaded into the target dissaperas and I am only left with the content of the target.

The target only exists on a specific keyframe with a specific frame label. That label allows me to access that target, and consequently the loaded swf mc.

Where am I confused as to trying to load the external mc into a target on root timeline and then accessing the external swf through the target label?

I want to load an external swf into an empty (almost empty - I put a blue square inside it to see whether that target mc gets loaded) mc holder using a button. Then once the swf is loaded I do not want it to load again (which i am successful at). However when I move on my root timeline to a different location and then back to the location of the holder mc, the just loaded swf is not there anymore, and I only see the content of the holder mc.

Bezirker

jimburton
10-29-2002, 11:21 AM
the mc that your swf is loaded into needs to persist on the timeline in order for it to exist - put it on a separate layer and make sure it's still there on all of the frames that you need to go to after loading into it.