Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to load an image into a movieclip?

Status
Not open for further replies.

tippytarka

Programmer
Jul 19, 2004
115
GB
so shameful... this has to be the esaiest thing to do and i searched google and this forum and can't find an answer...

how do you load an image into a movieclip. not creating a blank movie clip but into a movie clip that you have created. so you can do some animation to it?

btw, the image is a transparent background png
 
The same code you would use to load an external .swf, with ...

container_mc.loadMovie("my_picture.png");

One problem though... Dynamically loading .pngs is only possible with Flash 8. Otherwise, you can only load non-progressive .jpgs.

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top