How can I add an Image to a VisualSpriteElement. I am looking to place a number of images onto a container. We have a completed FlexBuilder 3 application and we are trying to port it to the 4.5 preview. In 3, we had a main image and did a number of AddChild's to add smaller interactive icons. What is the best way to do this in FlashBuilder 4 using the Spark Framework.
Flex is a framework with its own "base classes". Sprite is a low-level
Flash class. You can't add Sprite's to Flex display objects other than
UIComponent and SpriteVisualElement, and even then, certain rules apply. In
general, use UIComponent or SpriteVisualElement in Flex apps.