[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] shaking an image
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] shaking an image |
Date: |
Mon, 19 Feb 2007 20:04:39 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, Feb 15, 2007 at 08:22:30AM +0100, Gernot.Frisch wrote:
>
> I want to move my image from A to B, using 100 frames. Works great. Now I
> want to add some "shaking" animatino to it like this:
> \ | / | \ | /
>
> like: tick-tack-tick-tack.
>
> Must I insert frames in between, or is it possible to define such an
> animation with action script?
I'd use a sprite, and give the sprite the shaking animation:
.sprite imagewrap
.put myimage pin=center
.frame 20
.change b1 shear=2 pin=center
.frame 40
.change b1 shear=-2 pin=center
.frame 60
.change b1 shear=0 pin=center
.end
.put imagewrap
Greetings
Matthias