Targeting a clip in a different _level?

Is this possible? I have a clip “test” that I have in a container called “holder” that I have a movie being loaded into it, and this is being loaded on the _level2.

Kay here is what I want to do. I have another movie in _level3 and I want to target that clip “test” that is in _level2 “holder” clip. Can this be done?

It is like trying to target a movie that being loaded into container from a different _level

I hope this make sense:)

As far as I know you can use _level(n) just like you’d use _root

:hr:

Hey there lunatic,

So something like this? _level(3).loadMovie(“flash/port/world/netzero.swf”, “netloader”);

But how do I target the netzero.swf

:slight_smile:

Depends on how you are going to trigger the mc on both levels.

This might help

http://livedocs.macromedia.com/flash/mx2004/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004_Documentation&file=12_as287.htm

What is netloader by the way? Is that the clip inside _level3 that you want the netzero.swf to load into?

If so then I would use:


_level3.netloader.loadMovie("flash/port/world/netzero.swf");

:hr:

Thanks Guys!

Lunatic, yeah netloader is a empty clip that I have netzero.swf loading into. Is there away to go to a frame on netzero.swf?

Thanks

Sure as long as it’s loaded first.


_level3.netloader.loadMovie("flash/port/world/netzero.swf");
_level3.netloader.gotoAndPlay(3)

Once an external swf is loaded into a movie clip it becomes part of that movie clips timeline. If you wanted to target a specific movieclip within netzero.swf you’d target it the same way:


_level3.netloader.loadMovie("flash/port/world/netzero.swf");
_level3.netloader.AnotherMC.gotoAndPlay(3)

:hr:

Once again you da man!!! I got it!!! thanks bro.

Sorry Lunatic, I got it working but how can I target the netzero.swf timeline? Cause what is happen it is loading the netloader at the start of the time, so it is giving be a tween that I do not need to see again.

Sorry for bugging you about this.

Thanks

No worries - but I’m not sure I understand. Are you talkign about the _root timeline of netzero.swf? That is just the timeline of the clip you are loading into, or netloader in this case.

Hope that helps!

:hr: