put both on your main timeline and test.
Thank you for the reply. Can you elaborate on what you mean by that? How would I move them to the main timeline?
while viewing the main timeline, drag each of those movieclips from your library to the stage. test.
THANK YOU SO MUCH. This really helped, and you saved me a lot of trouble.
p.s. please mark helpful/correct responses.
So, say I make code for this to be in a game, to test keystrokes I would just move back to the main timeline and test it there?
by default, only your main timeline plays.
only animation/text/graphics that's attached to the main timeline will display. only code that's attachded to the main timeline will execute (unless you use class files).
HOWEVER, anything (like animation/text/code) that's in a movieclip, as long as that movieclip is attached to the main timeline, will also be displayed and execute.
so keystroke code could be attached to the main timeline. it could also be in a movieclip and that movieclip is attached to the main timeline.
note: just because nesting code in timelines will work does not make it a good idea. in fact, it's a bad idea. the only code should be on nested timelines is stop(),play() and gotoAndStop() and gotoAndPlay()
p.s. nesting animations is a central part of animation with flash.