Monday, May 12, 2008

FLASH Smart Buttons Code

Overstate for smart buttons- copy and paste onto movie clips actions- Action Script 2.0 only

---------------------------------------------------------------------------

onClipEvent (enterFrame) {

if (this.hitTest(_root._xmouse, _root._ymouse, true)) {

this.nextFrame();

} else {

this.prevFrame();

}

}