[FMX04] Help! Class files not working

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

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).

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.

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