View Full Version : swfs not working in scrollpane MX2004
tpassow
03-03-2006, 04:11 AM
I have a scrollpane where I am loading in external swf files that are buttons. All that loads is the first frame of the swf. When you rollover the button, the hand shows, but the actions to go to the next frame inside the swfs is ignored.
anyone know what is going on here?
thanks!
woowee
03-03-2006, 08:23 PM
The actionscript for your loaded swf will only effect the clip itself that loaded. Try setting your actions inside your loaded clips like
_root.gotoAndPlay(?) instead of just the gt&play command.
or _level1,2,....gotoAndPlay()
if you are trying to control other loaded movies or the loaded movie your clip is in???
a little confusing on the grammer but I hope this helps.
tpassow
03-03-2006, 10:10 PM
yes! that was it. (the old swfs were version MX using _root) changing the code to "this.mymovieclip.gotoAndPlay" solved the problem.
much thanks!
The actionscript for your loaded swf will only effect the clip itself that loaded. Try setting your actions inside your loaded clips like
_root.gotoAndPlay(?) instead of just the gt&play command.
or _level1,2,....gotoAndPlay()
if you are trying to control other loaded movies or the loaded movie your clip is in???
a little confusing on the grammer but I hope this helps.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.