ZayedUpal
ZayedUpal

Reputation: 1601

Skeleton animation in flashbuilder using only actionscript

I am a noob in flex. I have to animate a hand(upto wrist) for keyboard playing. It has to be done in runtime of the project. For making it more clear, I have saved all the informations in a file about the animation(time, position of fingers etc). How can I animate the fingers(wrist included)? I also need to know how to use a 2D hand with bones in flex.

Thankyou.

Upvotes: 0

Views: 334

Answers (1)

JeffryHouser
JeffryHouser

Reputation: 39408

You didn't specify the source of the files you want to animate, nor did you specify how you want to animate them.

If you just need tochange the X and Y position of an image you can just change the X and Y position of the image. A tweening library, such as Greensock could help. I think Flex also has a Move effect that you could use.

If you have the animation created as a SWF, then you can embed the SWF /library element in the Flex app and then use it as a MovieClip. From the MovieClip you can use play to start an animation and stop to stop the animation.

If you have the animation as a bunch of different bitmaps (Sometimes called a Sprite Sheet) then you can use a blitting implementation to create your animation. There are plenty of resources out on the web about Blitting in Flex.

Upvotes: 1

Related Questions