# \[FMX04\] Help! Class files not working

**URL:** https://forum.kirupa.com/t/fmx04-help-class-files-not-working/119671
**Category:** Uncategorized
**Created:** [August 17, 2004, 8:26am UTC](https://forum.kirupa.com/t/fmx04-help-class-files-not-working/119671 "2004-08-17T08:26:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![waynem](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@waynem](https://forum.kirupa.com/u/waynem)
#### Post date: [August 17, 2004, 8:26am UTC](https://forum.kirupa.com/t/fmx04-help-class-files-not-working/119671/1 "2004-08-17T08:26:14Z")

</div>

Hi All

I have two class files that extend to movieclips…one targets \_root.scrolling\_mc, the other \_root.messages\_mc

I have multiple movieclips throughout the presentation with instance names scrolling\_mc and messages\_mc

This is where it gets interesting. After navigating from a scene with scrolling\_mc to a scene with messages\_mc, some of the behaviour of the scrolling\_mc is still triggering.

Its almost as if both class files are working side by side.

I hope this makes sense

Any help would be appreciated because its baking my noodle.

Cheers

---

<div class="post-metadata">

### Author: ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)
#### Post date: [August 17, 2004, 10:34am UTC](https://forum.kirupa.com/t/fmx04-help-class-files-not-working/119671/2 "2004-08-17T10:34:38Z")

</div>

can you be more specific?

how are messages\_mc and scrolling\_mc created? What do they consist of? Their actions? Is the only problem that the actions of one continues when you change scenes and it shouldnt? (TIP: never use scenes).

---

<div class="post-metadata">

### Author: ![waynem](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@waynem](https://forum.kirupa.com/u/waynem)
#### Post date: [August 17, 2004, 5:00pm UTC](https://forum.kirupa.com/t/fmx04-help-class-files-not-working/119671/3 "2004-08-17T17:00:07Z")

</div>

The scrolling\_mc consists of static images that are scrolled through frame by frame using keypresses…key 1 scrolls backwards, key 2 forwards. upon pressing key 5 you go to a different scene, depending on which image you selected. 6 key goes back to previous scene.

The messages\_mc consists of a couple of dynamic text boxes that accept different pieces of text depending on which key is pressed.

After using scrolling through the movieclip (scrolling\_mc) and pressing key 5…i go to a scene with an instance of message\_mc. If i press for example key 6, i go back to the previous scene…however this action is in the class file that targets scrolling\_mc and does not appear in the class file that targets messages\_mc…therefore it should not be triggering.

> [@senocular](#):
>
> can you be more specific?
> 
> how are messages\_mc and scrolling\_mc created? What do they consist of? Their actions? Is the only problem that the actions of one continues when you change scenes and it shouldnt? (TIP: never use scenes).

---

<div class="post-metadata">

### Author: ![waynem](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@waynem](https://forum.kirupa.com/u/waynem)
#### Post date: [August 18, 2004, 9:23am UTC](https://forum.kirupa.com/t/fmx04-help-class-files-not-working/119671/4 "2004-08-18T09:23:51Z")

</div>

I have attached a basic version of the file…as you can see the first instance of scrolling\_mc works fine (scrolls in order) The delete function on the message screen isn’t working correctly…its supposed to delete one character at a time, and when there are no characters go back to the previous scene, but i think it is taking some of its behaviour from IconScroller.as and just going straight back.

Then when you go to the next scene (scroll01), it either doesnt scroll or scrolls in the wrong order.

When you are on the message scene only KeyInput.as should be active, however all the trace commands forr IconScroller.as are still working…leading me to believe that both script files are triggering.

I hope this is a better explanation.

Cheers
