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

**URL:** <https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124>\
**Category:** flash\
**Created:** [April 1, 2003, 6:16pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124 "2003-04-01T18:16:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cybergold](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@cybergold](https://forum.kirupa.com/u/cybergold)\
**Post date:** [April 1, 2003, 6:16pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124/1 "2003-04-01T18:16:52Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 1, 2003, 7:34pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124/2 "2003-04-01T19:34:52Z")

</div>

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. :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 1, 2003, 7:44pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124/3 "2003-04-01T19:44:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 1, 2003, 8:46pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124/4 "2003-04-01T20:46:09Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 1, 2003, 8:53pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124/5 "2003-04-01T20:53:21Z")

</div>

right

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 1, 2003, 8:56pm UTC](https://forum.kirupa.com/t/fmx-text-scroller-doesnt-work-when-loaded-into-a-movie/17124/6 "2003-04-01T20:56:07Z")

</div>

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

SteveD
