I want to attach an image to a Sprite named spriteBg and I need to do it using actionScript.
I've been trying the following (my image is in the same folder as the class file), and I can draw the graphic shape, but the image won't show up. Is there a better way to do this?
You can not add image into the sprite directly.Instead you have to get the bitmap of the image,
and add the bitmap to the sprite.
Shardul Singh Bartwal