View Full Version : FMX, Text Scroller doesn't work when loaded into a movie
cybergold
April 1st, 2003, 01:16 PM
Hey, This scroller doesn't seem to work once i load it as an SWF, is there any reason why, if so, how can i fix it? Thanks...
eyeinfinitude
April 1st, 2003, 02:34 PM
Since it's loaded into a movieclip of another movie, you'll need to define the path for it so you can apply something like this to the buttons:on (release) {
_root.emptyMC.sText1.scroll = _root.emptyMC.sText1.scroll-1;
}
That above is an example of one of the codes I got from one of the buttons. I added _root.emptyMC to it to define the correct path once it's loaded into the other movie. "emptyMC" would be the instance name of the movieclip you're loading that scroll swf into. I hope that makes sense. :-\
SteveD
April 1st, 2003, 02:44 PM
Hi,
The single click scroller seems to be OK, but on the mouse down and mosue over scroll, change the code on the scroll buttons from _root. to _parent. or whatever level you are loading into, that should do the trick.
Cheers
SteveD
cybergold
April 1st, 2003, 03:46 PM
Thanks... This scroller was originally intended for Flash 5, but i like it, thanks for the help. _parent instead of _root because it is being loaded into another SWF right?
cybergold
April 1st, 2003, 03:53 PM
right
SteveD
April 1st, 2003, 03:56 PM
right, or you could change _root to _level dependant on what level you are loading the swf into
SteveD
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.