<p>Is there a preferred way to handle animation when using Flex -- For instance, if I want to render a ball and bounce it around the screen?</p>

[{'answer_id': 64320, 'author': 'Marc Hughes', 'author_id': 6791, 'author_profile': 'https://Stackoverflow.com/users/6791', 'pm_score': 2, 'selected': True, 'text': '<p>I prefer to use a tweening library for things like this.  Check these out:</p>\n\n<p><a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fcode.google.com%2Fp%2Ftweener%2F&amp;ei=X4nOSIPJAaioesqPveAI&amp;usg=AFQjCNH06RZesH0SEvPCYbJ-J0OMFd7GGQ&amp;sig2=Ki_WXXUX1aHzahMMMSctIw" rel="nofollow noreferrer">Tweener</a></p>\n\n<p><a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fblog.greensock.com%2Ftweenmaxas3%2F&amp;ei=jInOSK2QC6jeeu3z-eEI&amp;usg=AFQjCNFfJ41rVV8JX7vg8VfC2vRwuwzAkQ&amp;sig2=sCb4Kj8LvIXZj9Wt9iLZ9g" rel="nofollow noreferrer">TweenLite / TweenMax</a></p>\n\n<p><a href="http://code.google.com/p/kitchensynclib/" rel="nofollow noreferrer">KitchenSync</a></p>\n\n<p>I\'ve had good luck actually using the first two, and have read great things about the last one.</p>\n'}, {'answer_id': 68778, 'author': 'Josh Tynjala', 'author_id': 10768, 'author_profile': 'https://Stackoverflow.com/users/10768', 'pm_score': 2, 'selected': False, 'text': "<p>If you're building a Flex application, you should use Flex's native Effect classes. They're probably already compiled into your app, since the core components use them, and you won't increase your SWF size with duplicate functionality like you would if you used another library. For simple animations, either mx.effects.AnimateProperty or mx.effects.Tween should work well.</p>\n\n<p>If you're working on a regular ActionScript project (without the Flex framework), then I concur with the answer given by Marc Hughes. However, if that's the case, then please don't say you're using Flex because that implies that you're using the Flex framework and it can be very confusing. If you mean Flex Builder, then please use the full name to avoid potential misunderstandings.</p>\n"}, {'answer_id': 575054, 'author': 'Boon', 'author_id': 66814, 'author_profile': 'https://Stackoverflow.com/users/66814', 'pm_score': 2, 'selected': False, 'text': '<p>You can\'t always use Flex\'s effect class with plain sprites.  Certain effects expect your target object (the object to be tweened) to implement IUIComponent interface, while others don\'t.  So you can either use mx.effects.Tween, or if you must use the one of the effects classses, you will need to coerce your sprite into a UIComponent.</p>\n\n<p>Another option is to use one of the tween packages suggested above or roll your own with goasap!</p>\n\n<p><a href="http://www.goasap.org/" rel="nofollow noreferrer">goasap</a></p>\n'}, {'answer_id': 1491531, 'author': 'maxmil', 'author_id': 181010, 'author_profile': 'https://Stackoverflow.com/users/181010', 'pm_score': 0, 'selected': False, 'text': '<p>You can use mx.effects.AnimateProperty even though your target is not a UIComponent. </p>\n\n<p>If the tween you want to acheive is a simple one (Move, Resize, Fade etc) this saves you writing the boiler plate code that mx.effects.Tween requires.</p>\n'}]
['https://Stackoverflow.com/questions/63910', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/7689/']