actionscript 3 - AS3 MouseMove laggy issue with transparency on FireFox -
i'm using custom cursor when hovering movieclip using mouse_move
spectrum.addeventlistener(mouseevent.mouse_move,function(e:mouseevent):void{ mouse.hide(); mousecursor.visible = true; mousecursor.startdrag(true); mousecursor.mouseenabled = false; mousecursor.mousechildren = false; e.updateafterevent(); });
when set wmode='transparent'
mouse_move still works smoothly on chrome , ie, on firefox cursor becomes super laggy when hovering movieclip..any ideas why?
i tried enterframe custom cursor, it's laggy..
if set wmode ='window' mouse_move works again, , not laggy anymore..
why mousemove become laggy when setting wmode='transparent' on firefox ? can me ?
i'm not sure problem wmode = transparent!
rather starting drag, should rather either start once , stop when dont need anymore
or
just set cursors position rather using drag.
spectrum.addeventlistener(mouseevent.mouse_move,function(e:mouseevent):void{ mouse.hide(); mousecursor.visible = true; mousecursor.mouseenabled = false; mousecursor.mousechildren = false; mousecursor.x = mousex; mousecursor.y = mousey;
});
Comments
Post a Comment