hi… I have an instance of a movie clip, and I want to test for when the user clicks on it… how do I do that? (it has to be a movie - I can’t change it to a button…)
on(press){
//do this
}
or
on(release){
//do this
}
You can use on handlers on movie clips in Flash MX
oh, never mind… for some reason I thought that on(event ) could only be used for buttons…
yes… I’m dumb… thanks, though Lost.
If you’re using MX then movieclips could be used as buttons as well, just apply button actions to the movieclip and to test it out, you can go to control enable simple buttons or just test the entire movie by pressing ctrl then enter.
No… a lot of people don’t know on handlers can be used on movie clips.
This is only a feature of MX though…
yeah, the book I’m reading for Flash MX says that onClipEvent() is for movies and on() is for buttons… that’s dumb. That’s why I was confused…
Well… funny thing is…
onClipEvent handler is for movie clip symbols, but not for Button sumbols.
But on handlers can be for both movie clip and button symbols in MX.
on handlers were originally for buttons, so that is probably why they say that… to prevent any confusion of what an on handler and an onClipEvent handler was.
well… now I got it… thanks Lost, you’ve been helping me out a lot.
No problem… ^^^^^but Electrongeek helped too ^^^^^
electrongeek… I have some dude who just IMd me on AIM asking for you, for some reason…
thanks electrongeek