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

Loading Remote Pictures?

Status
Not open for further replies.

Ram0135

Technical User
Apr 14, 2003
77
US
I have a photo slideshow template that I built in Photoshop and imported into Flash. There is a white space for the pictures and I normally have to import the picture I want there into the library and such. Is there a way that I can load the picture remotely. I want to have both a dialup and flash site so the dialup would have the plain pictures sized for the flash movie... And then when a flash user clicked on the link for the flash album, the flash movie would load that picture and center it and such into the specified place. Is this possible?

Thanks,
Ram0135
 
Not sure what you are referring to when you say you want to have a dial up and a flash site... these things cannot be compared, so you post is a bit confusing. In terms of loading an image dynamically from outside of flash as runtime you would do this..

Create an empty movie clip and position it in the upper left corner of the white space on your template.

Create a function that loads the image using the following syntax...

myEmptyMovieClip.loadMovie("myImage.jpg");

You must use a .jpg image.

K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top