/ Published in: ActionScript 3
para hacer un boton con un clip
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
import flash.events.MouseEvent; boton.buttonMode = true; boton.useHandCursor = true; boton.addEventListener(MouseEvent.CLICK, onClickHandler); function onClickHandler(myEvent:MouseEvent){ //accion }