flash motion question

I am juststarting out with flash, and I know that motion tweening can automate simple things, but I would like to know if there are more ways to automate?

For example, the animation of the bird here:


but going accross the page, I have basically been copying layers and moving the items in each layer. Is there a better way to do this, perhaps with script?


motion tweening only works for moving the object. Anything else will have to be an animation. You will have to create a MovieClip of the bird walking on the spot, and then use a motion tween to move the bird from point a to point b, while playing the MovieClip.

The link you provide doesn't require any Flash advanced knowledge but more patience. The guy draw is picture and he set up frame but frame. 1 frame = 1 picture.

Using timeline animation you basically need one layer for every thing that moves independently. You can simplify this by making a movie clip symbol containing your object and putting all of the animation within that movie clip. And then you can animation the overall motion of the object on the main timeline.

The alternative way to do the animation using actionscript. Basically set a timer to fire at intervals and at each interval calculate where each each component of the animation needs to be and move it. A bit too much to go into here though.

Oh man, there are so many things you can do with script based animations. The answer you selected will work for your example, but you really should look into what code based animation can do for you. Check out these sites to get started.

First, check out FuseKit for ActionScript 2.0 animations. You an build code based tween sequences.

There is also the GoASAP animation platform which is an AS3 evolution of Fuse. But instead of being a limited class, it's a community driven Animation Platform with the goal of providing framework for Animation across multiple platforms (Flash/AS, SIlverlight/.NET, AfterEffects, 3D/Maya, etc)

I've used both FuseKit and Tweenlite. FuseKit is very powerful and flexible. You can sequence very complicated animations. I find that I can do most of my animations with TweenLite, so I suggest that if you're just starting out with Flash, you try Tweenlite.

Need Your Help

Issue with "rubber-band" scrolling in Chrome

javascript jquery html css scroll

On my webpage, I have an element $('.detailViewHandle') that adjusts its position based on the window's scroll position. I'm running into issues because of elastic scrolling (which I've also seen

Building dynamical xPath

jsp xslt xpath el dynamically-generated

I have to make xPath dynamical, based on my request attributes in XSL file making JSP using expression language. So now I have this thing: