FMX, Text Scroller doesn't work when loaded into a movie

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…

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:[AS]on (release) {
_root.emptyMC.sText1.scroll = _root.emptyMC.sText1.scroll-1;
}[/AS]
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. :-\

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

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?

right

right, or you could change _root to _level dependant on what level you are loading the swf into

SteveD