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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -