How do I get .setRGB(0)from black to white? I tried .setRGB(255,255,255) and some other combinations, with no luck. Thanks. And also, with this script:
onClipEvent (load) {
startDrag (this, true);
Zapper = new Color(this);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Zap)) {
Zapper.setRGB(0);
setProperty (_target, _y, _y+50);
setProperty (_root.Zap, _alpha, 50);
stopDrag ();
stop ();
} else {
setProperty (_root.Zap, _alpha, 100);
}
}
is it normal that the Bug MC hovers above the cursor, instead of being able to actually grab it, or would I have to convert to a button and do a mouse event? Sorry 'bout the newbie questions
Adam
onClipEvent (load) {
startDrag (this, true);
Zapper = new Color(this);
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Zap)) {
Zapper.setRGB(0);
setProperty (_target, _y, _y+50);
setProperty (_root.Zap, _alpha, 50);
stopDrag ();
stop ();
} else {
setProperty (_root.Zap, _alpha, 100);
}
}
is it normal that the Bug MC hovers above the cursor, instead of being able to actually grab it, or would I have to convert to a button and do a mouse event? Sorry 'bout the newbie questions
Adam