Hi friends, Is there any way that we can embed an image dynamically through action script??
If I do, it as given below, [Embed (source='../assets/image/icon.jpg')] public var myImage:Class; myButton.setStyle("backgroundImage",myImage); It works fine.. But this button is created dynamically, and there are number of buttons created in one container. This button is a custom class too.. and I need different images to each button, that is what my requirement is.. any suggestion from any of you friends..?? Thanks and Regards, Sony.