View Full Version : button doesn't work
Taeke
11-23-2002, 11:31 AM
in a movie I've got a stop button.
when I load this movie (.swf) into another .swf, this button doesn't work anymore.
Why not?
Ricod
11-23-2002, 01:20 PM
We don't know with this info. "My car doesn't work. Why ? Its at home btw." ;)
The stop() is probably targeted at something which now(after loading into another swf) has a different path. What this is cannot be seen by us. You could solve this by either using a relative path (_parent.myOtherMc.stop()) or by using an absolute path, taking the swf into account. (you load the swf into a mc, _root.holderMc for example, and the path to what you wanted to stop was _root.myMc, the correct path / method would now be _root.holderMc.myMc.stop() )
I suggest you read the path turorial which you can find here :here ! (http://www.actionscript.org/tutorials/beginner/paths/index.shtml)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.