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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamic images like dynamic text?

Status
Not open for further replies.

random260

Programmer
Mar 11, 2002
116
US
I'm new to flash and have a newbie question. I have been able to create dynamic text fields that load text from a file using variables - my question is, can you do something like this with images? I've done some basic research but not sure if I should be reading in-depth on "load-movie" or what, as I want to just load images. i.e., for a web site with cars for sale it ould be nice to just have a folder where I have image1, image2, image3, etc. and the flash just loads whatever image1 is - so if I want a picture of a different car I just replace image1 with a new file named image1. Or something like that. I don't really need sample code (although would look REAL close at it if it was supplied lol) - I more need to know if it is possible, and someone to point me in the direction I need to look to find the command(s) for doing it.

Thanks
 
this is done all the time

emptyClip.loadMovie("imageFolder/image1.jpg");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top