Go to label in a random swf

Hi!

As a brand new member at kirupa I’m testing my members with a problem:)

The problem:

I have a main swf.
In the main swf I’ve placed an empty movieclip called “mtClip”.
In that clip I’ve got 4 swf:s that will randomly be loaded when I start my main swf…no problems with that.

The thing is when I click a button on the main swf. Then I want to go to a label called “fade” in the timeline of the actual swf that is loaded in the “mtClip”.

So by other words. How do I call a label in a swf that I don’t know the name of?
Is it possible to just call upon the “appearing swf” in the “mtClip”?

hmm…don’t know if you got that…it was harder than I thougt trying to explain a problem:)

anyhow, I’m more than grateful for help!

/chris
:}

Not a scooby what you just said

You don’t have a framelabel in every swf ? Or do you ? Anyway, you can always go to a certain frame label in a loaded movieclip by targetting the holder of that movieclip and telling it to go to that frame:


holder.gotoAndPlay("label");

cheers…so it wasn´t that hard.

thanx a lot!

/chris

No problem :slight_smile: Welcome to the forums by the way :wink: