Are they possible and if so, how are they done?
I maybe be stupid but I’m not that stupid! jk.
I still cant figure out how to make this work? Any other ideas?
Ah, got it! found a tut elsewhere. Heres the code, all you have to to is place it inside an MC and it acts as a button.
onClipEvent (load) {
delay = 250;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
//do action 1
if ((getTimer() - firstClick) < delay) {
//do action2
}
firstClick = getTimer();
}
}
thats practicly the same as my idea…
And i never called you stupid. it’s just that most of the times, other viewers start posting things like: how do you make an mc work like a button?
got it?
peace,
amanuo
If that was my problem thats what I would have posted. And the code I posted is a better way of going about it.