Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adobe Flash CS6 movie test issue.

Community Beginner ,
Jul 30, 2014 Jul 30, 2014

I've been having trouble in Flash CS6 using AS2. I have created a character with an idle animation and a walking animation. If I try to test either of them (Ctrl-Enter) it just shows the first frame. It was working when i had only one set of animations, but after adding a second it seems to have stopped working. The main reason I find this odd is because I have not added any code into the actions yet, so the reason can't be faulty code.

TOPICS
ActionScript
608
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 31, 2014 Jul 31, 2014

put both on your main timeline and test.

Translate
Community Expert ,
Jul 31, 2014 Jul 31, 2014

put both on your main timeline and test.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 31, 2014 Jul 31, 2014

Thank you for the reply. Can you elaborate on what you mean by that? How would I move them to the main timeline?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 31, 2014 Jul 31, 2014

while viewing the main timeline, drag each of those movieclips from your library to the stage.  test.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 31, 2014 Jul 31, 2014

THANK YOU SO MUCH. This really helped, and you saved me a lot of trouble.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 31, 2014 Jul 31, 2014

you're welcome.

p.s. please mark helpful/correct responses.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 31, 2014 Jul 31, 2014

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 31, 2014 Jul 31, 2014
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines