Hello,

I've worked on a method to allow Insane Flash Animation 3.41 users to create little animated figures which can move about on the screen.

The classic example is a bird flapping its wings as it flies in the sky.

The 'wings up' image of the bird alternates with the 'wings down' image. This repeating cyclical element moves around on the screen, giving the illusion of flight.

A tutorial with two example MOVIES will soon be available at

URL: http://www.flashkit.com/tutorials/va...65/index.shtml

I would appreciate feedback on this tutorial. I'd like to know if there's an easier way of doing this (TEST with SWF before you propose, please).

In the meantime you might want to read the following ;


Here is a text version of the tutorial ;

Step1 :

Note : This is where you will establish the direction, distance and speed of the bird. Each ‘ frame ’ of the flapping wings is contained in its own MOVIE. The movement of the elements in the should be identical ; same path and timing

Bird up.MOVIE
CONTAINS :
Element: bird with wings up
Event : Move

Bird down.MOVIE
CONTAINS :
Element: bird with wings down
Event : Move

STEP 2:

This a new MOVIE in which you must add the bird up and down MOVIES as elements. In this Bird MOVIE we will alternate between the up and down images of the flapping wings. Add 3 keyFrames as shown below ;


Bird.MOVIE
CONTAINS :
Elements : Bird up.MOVIE
Bird down.MOVIE





KeyFrames :
KeyFrame1
Action:
Setproperty
Bird up opacity = 0
Setproperty
Bird down opacity = 100
KeyFrame2
Action:
Setproperty
Bird up opacity = 100
Setproperty
Bird down opacity = 0
KeyFrame3
Action:
Goto Frame Bird.KeyFrame1

You May now export the Bird.MOVIE to test it under Flash.

If there’s a bug, make sure delays, durations and especially, Key Frames and Actions are coherent and whole.

STEP 3:
Main.MOVIE


Element : Bird.MOVIE


IMPORTANT :
When adding the Bird.MOVIE element to a MOVIE, you must correct the broken links in the Actions sections of each KeyFrame in the Bird.MOVIE element.
If you have 2 or more Bird.MOVIEs in the same main MOVIE, in addition to correcting the broken links, you must rename the additional movies and their respective KeyFrames so that they are unique for the Main.MOVIE


NOTE :
Try different durations and delays for the various parameters of each element .
Different KeyFrame delays will give faster or slower flapping.
The child MOVIES don ’t have to be of the same size as the Main movie because you can move imported elements beyond the borders of their original containers.
If you prefer, you can create the individual Bird up and down MOVIEs directly as Child MOVIES of the Bird.MOVIE


Thanks

Marc