PDA

View Full Version : making a loadmovie/jpg "clickable"


jbruton
02-21-2003, 09:19 PM
Greetings all, and thanks in advance for any and all help.

This is all working ---
I'm trying to build a dynamic, reuseable image gallery.

I'm using a 'for' loop to go through the list of image names.

I've got an empty movie clip (called empty_mc).

I'm using attachmovie to grab a copy of empty_mc and then load each image into it's own movie clip.

This is my problem ---
I need each image clip to be "clickable" with a mouse so
that I can show (whatever image name/number I click on)
in a larger movie clip (big_mc).

I can't figure out how to make the jpg or it's holder movie
clickable!

I sure hope this is an easy solution, and if at all possible, code samples would be greatly appreciated... i'm fried.

Billy T
02-22-2003, 12:10 AM
post your code

will just be something in your for loop like

holder_mc.onRelease=function(){
//do something
}

cheers

Billy T
02-22-2003, 12:12 AM
oh yeah, actions sometime seem to get erased when you load a movie into an mc. You might want to create a holder mc inside each empty mc and load the jpg into the holder

then assign the action to the empty mc and you should be right

cheers