xml gallery question
- Started
- Last post
- 4 Responses
- brandonbleed
Hey there folks,
Is there a way when building an xml menu/gallery to dynamically load unique custom buttons (thumbnails of the work)? I currently have a movie clip in the library that is placed as a button for each instance, but would instead like each button to be a cropped thumbnail of the piece it opens in the gallery.
Any help or examples would be greatly appreciated. Thanks a million.
- ktBleed0
get a flash book dumbass.
- brandonbleed0
Same team Farva, same team.
- lostnation0
quickly, make a movieclip that will be the thumbnail clip with a square mask masking an empty movieclip called "cage_mc" or something, and give at a linkage id like "thumbnail".
in your xml file, define the path to the jpg for the folio piece somewhere in the node, like an attribute or something.
on the first frame of the thumbnail clip, have a loadMovie statement like:
cage_mc.loadMovie(this.filepath...then, on the click event of the button, attach the thumbnail image and pass the filepath:
attachMovie("thumbnail","preview......or something.
- brandonbleed0
that sounds awesome, thanks a lot.