gani
01-08-2009, 11:12 AM
I have a movieclip and i put an onRollOver call on it. The problem is the onrollover fires only once when the ouse is on top of the movieclip. In flash, how can i do something equivalent to the onmousemove in javascript?
|
||||
onrollover fires oncegani 01-08-2009, 11:12 AM I have a movieclip and i put an onRollOver call on it. The problem is the onrollover fires only once when the ouse is on top of the movieclip. In flash, how can i do something equivalent to the onmousemove in javascript? gnomeontherun 01-08-2009, 11:22 AM Best to use a hittest in this situation. http://www.kirupa.com/developer/actionscript/hittest.htm gani 01-08-2009, 01:31 PM hmm...interesting .... but with the hittest function..... will the function be called at every little pixel movement of the mouse? update: ...found a better solution button.onMouseMove = function () but now i have this problem ...i want the cursor to turn to a hand when the mouse is over the movieclip... but the hand never appears button.onMouseMove = function () { if(rov=='hand') { button.buttonMode = true; button.useHandCursor = true; ExternalInterface.call('alert', button.useHandCursor); } else { button.useHandCursor = false; } } see example here http://www.skenglish.sk/deleteme/example.html gani 01-08-2009, 06:27 PM nevermind...solution found.... an onRelease action was required.... thanks for your help:thumbsup: |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum