Rotate movie clip with a button mouse over?
if has ideas how code this, it'd appreciated.
i have 1 frame swf few buttons , 2 movie clips of wheel. wheel needs spin when mouse on buttons , stop when not hovering.
i tried setting property rotation of clip on roll over, doesn't move wheels continuously or stop lands.
anybody have ideas? thanks!
i have 1 frame swf few buttons , 2 movie clips of wheel. wheel needs spin when mouse on buttons , stop when not hovering.
i tried setting property rotation of clip on roll over, doesn't move wheels continuously or stop lands.
anybody have ideas? thanks!
i think easier make button movie clip, unless have, job. try this:
wheel.onrollover = function() { wheel._roration = wheel._rotation + 25; }
wheel.onrollout = function() { wheel._roration = wheel._rotation + 0; }
whell.onpress = funciton() { /*what want do*/ };
that suggestion.
wheel.onrollover = function() { wheel._roration = wheel._rotation + 25; }
wheel.onrollout = function() { wheel._roration = wheel._rotation + 0; }
whell.onpress = funciton() { /*what want do*/ };
that suggestion.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment