NAVIGATION:

 

SUPPORTERS:

FlashComponents
  Flash Templates
  Flash Gallery
  Flash Slideshow
  Flash Menu
  Flash Design
  Flash Video
  User Interface

  

FOLLOW:

RSS it down! Twitter it up! Facebook it like a fiend!

 

 

 

 

 

 
Frame
Jumping
         by Ed Edwards: 13 Feb 2005

Introduction
When you play an animation in Flash, unless you used ActionScript, your animation simply moves through the timeline - displaying whatever is contained on those frames. That is very linear, and sometimes you would want to tell Flash to skip a few frames, or jump to a new frame that is 100 frames down. How can you do that? This tutorial will show you!

In this tutorial you will learn how to jump from one frame in your animation to another by using a few lines of ActionScript. The following is an example of what I will explain:

[ Click the Go to Frame 2/1 link ]

Steps to Create Animation:
If you follow these steps carefully you shouldn't get too confused.

  1. Ok let's start by opening up Flash and making a new document. I made mine 250 by 200.
  2. 2. Go to the time line and name the current layer "buttons".

[ your layer should look something like this ]

  1. Make a new button by clicking on the create symbol button (below) and make a button of your choice, and ok it.

[ I have drawn a line to the create new symbol button ]

  1. Now place your button where you want in your movie. Well, it's been easy so far so let's get some coding done. First go to the first frame in your timeline and open the actions panel and enter this code

stop();

This just stops the movie from playing, now keep your actions panel open and select your button and paste in this code.

on (release) {
gotoAndPlay();
}

Where it says gotoandplay() you must put the number of the frame you want between the () characters. if you want to go to frame six it would be gotoAndplay(6), it's very important you get this right or it will not work.

5. Well now you just have to put the content in the frame you wish to link to. If you still don't understand download the zip file.

Download ZIP

 

   Ed
Phonowaves.co.uk

 

 

SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple. flash components
Creative web apps. Make your own free flash banners and photo slideshows. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.

Flash Transition Effects

Flash Effect Tutorials

Digicrafts Components
Flash effects. Art without coding. Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com
Flipping Book - page flip flash component. Flash-Gallery.com - Get your flash photo gallery (flash component or swf gallery
Everythingfla - HD video school membership starts as low as 4.99 a month for the first 3 months. New Videos  updated weekly. current focus is Learning how to develop in AS3. Simple Client Review System
tweenFx - point and click animation Learn how to advertise on kirupa.com
 

cdn
content delivery network (cdn)