View Full Version : {FMX} _parent action doesn't work for SWF
cybergold
April 3rd, 2003, 12:23 AM
Hi :) I have a movie load an SWF into a movie clip, in that SWF there is a button which tells a movie clip to .play, the movie clip inside that swf is called "clip". i have on that button _parent.clip.play();
}
Why is this not working, i have a website due in 2 days, can anyone help me out? Thanks :smirk:
upuaut
April 3rd, 2003, 02:14 AM
loadedSwf - button1
|
movie
oops..
on(release){
_parent.gotoAndPlay();
}
_parent is a reference to the timeline which contains the object that this code is on. In this case, _parent refers to "loadedSwf" movie clip in my diagram.
You could also do
"_parent._parent.gotoAndPlay();" to make the main timeline do something.
cybergold
September 12th, 2003, 02:37 AM
Thanks. :)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.