PDA

View Full Version : combine a button and a movie clip


sneezy
02-19-2002, 02:30 PM
At the moment I'm going through the tuturials, I'm stuck @ Drag and Drop target (Tutorial 12)

I'm trying to recreate the exercise and I can't same to combine my movie clip and button and then be able to apply a script to my movie clip.

Could someone please explain.

Cheers

Ricod
02-19-2002, 04:02 PM
I think ur messing two things up. if u try to put a button script on a mc, that won't work. For instance :
on (release) {
// code
}
will work on a button, but not on a mc or a frame.
onClipEvent() will work on a mc though

sneezy
02-20-2002, 08:58 AM
This makes no sense to me at all. I know that certain codes can't go on buttons or mc but how do I combine the 2 and set a script ?

Jesse
02-20-2002, 09:04 AM
You put a button inside a movieclip and put the actions on the button. Examie the source more closely and you will see how that's how I achieved the effect.