Skip to main content
Inspiring
March 10, 2008
Question

I want a loaded SWF

  • March 10, 2008
  • 2 replies
  • 257 views
Hi,

I have a loader Container MC and I want the loaded SWF when it gets to a frame to tell the Main SWF to gotoandplay(x)

I can trace(this.parent.parent.parent.name) but i cant this.parent.parent.parent.gotoAndPlay(x);

x = a frame number or a label

Thanks for your time

rS
This topic has been closed for replies.

2 replies

Inspiring
March 15, 2008
Hi rS,

one alternative is to do an addEventListener() in the parent mc and do a dispatchEvent() in the child mc.

It's a longer way to do things but you won't run into problems if the parent.parent.parent doesn't match what you think it does.

Cheers,
Rick
nardoveAuthor
Inspiring
March 10, 2008
I solve it using

MovieClip(parent.parent.parent).gotoAndPlay(x);

if there is any other way please let me know

Thanks

rS