flash - Change cursor to custom on rollover -
i have graphics in flash object , want change cursor @ rollover on graphics . here code follows:
on (rollover) { mouse.hide(); startdrag(dynmccrsr, true); } on (rollout) { startdrag(dynmccrsr, false); mouse.show(); }
the code work @ rollover not functioning @ rollout. cursor remains unaltered @ rollout. new in action-script. in regard highly appreciated.
you should use stopdrag()
:
on (rollout) { stopdrag(); mouse.show(); }
startdrag
has 1 required parameter , 5 optional parameters. first being object want drag , second 1 lockcenter
. if use startdrag(object,false)
not stop dragging.
http://help.adobe.com/en_us/as2/reference/flashlite/ws5b3ccc516d4fbf351e63e3d118ccf9c47f-7f93.html
Comments
Post a Comment