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

ActionScript between frames help

Guest
Sep 28, 2013 Sep 28, 2013

Hello,

It's been a long time since I've worked with Flash, namely AS3 so I need some guidance on a project.

Here are some requirements for the project to be used during a play performance:

Make a string of animations that need to all be in the same SWF file that someone will run from their computer rather than over the Internet. That seems fine.

Nothing visible to the audience except the animation (i.e. no mouse icon, etc.).

Each frame must contain a Movieclip (animation) that plays when you enter it and stops/disappears (if in mid play) when you leave the frame. Most of the animations are going to be a simple text fading in and out until advanced to the next frame.

Use of the left arrow (keyCode: 37) on the keyboard to move to the previous frame and play that Movieclip.

Use of the right arrow (keyCode: 39) on the keyboard to move to the next frame and play that Movieclip.

Suggestions?  🙂

TOPICS
ActionScript
702
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 ,
Sep 28, 2013 Sep 28, 2013

each animation should be a movieclip that's placed on a main timeline keyframe. 

put the first animation/movieclip on frame 1.  the next on keyframe2 etc.

use a keyboardevent listener to listen for the left and right arrow keys and execute prevFrame() or nextFrame().

if your animations contain any streaming (sound, video etc), you should use a removedfromstage listener to stop the stream.

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
Guest
Oct 01, 2013 Oct 01, 2013

Thank you very much for these suggestions.

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 ,
Oct 01, 2013 Oct 01, 2013
LATEST

you're welcome.

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