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

loading images from a library

Status
Not open for further replies.

mmmbob

Programmer
Jul 23, 2003
29
US
Hi,
I am trying to make a menu with thumbnails and if you click on the thumbnails then the corresponding image shows up on the screen. All the images are loaded in the library. I just don't know what command I need to use to tell flash to display the image i want in the screen and remove the old one(or perhaps display over it).
Thanks.
 
it might be better if the large images were external however

sick an empty clip on stage where you want the large pics shown and give it an instance name (clip)

to the on release functions for the menu add

clip.attachMovie("linkage","newname",depth)

with linkage the linkage name in the library of the large one, new name can be anything, depth a suitable integer
 
Bill,
But the images don't have a linkage name. Should I go through and convert each image into a movie with only that image and then do this?
Thanks,
 
you have to give them a linkage name

open the library, right click on the image (movieclip) select linkage then give a linkage name

yes they must be movieclips
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top