PDA

View Full Version : Programmatic animation in Flex app -- how?


BaconTastesGood
01-16-2007, 02:30 PM
I have a Flex app that needs to render bitmaps (dynamically loaded, but that's not the issue here) in real-time based on incoming data. For example, I have a real-time connection to a data source that is updating me with data that I want to animate and render in real time.

How would I do this in Flex 2? I have no idea what the right approach would be and I've read most of the docs on Sprite, Image, Bitmap, Display, BitmapData, etc. Conceptually I need to be able to create and remove entities in real-time and update their positions. And, of course, draw them.

hangalot
01-17-2007, 11:56 AM
if its not a simple, drop it on a canvas ans set some positions problem then:
for moving stuff programatically i would look at this
http://www.alex-uhlmann.de/flash/animationpackage/

for real time communication you should use fds, fms, red5 or a socket