OMG!!! Thanks a lot!!!!!!
Wow! Thanks a lot Leandro .
/////Here is the solution // from
Leandro Amano | leandroamano.com.br //
<Quote>
See the solution (1 line... lol)
//this is the solution, please, post in Flashcoders.
//cursor.mouseEnabled = false;
package{
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.ui.Mouse;
public class MouseManage extends MovieClip{
private var cursor:pseudoMouse;
public function MouseManage():void{
cursor=new pseudoMouse();
cursor.mouseEnabled = false;
addChild(cursor);
pad.addEventListener(MouseEvent.MOUSE_OVER,mOver);
pad.addEventListener (MouseEvent.MOUSE_OUT,mOut);
}
private function mOut(event:MouseEvent):void{
Mouse.show();
pad.removeEventListener(MouseEvent.MOUSE_MOVE, redrawCursor);
cursor.visible = false;
}
private function mOver(event:MouseEvent):void{
Mouse.hide();
cursor.visible =true;
pad.addEventListener(MouseEvent.MOUSE_MOVE, redrawCursor);
}
private function redrawCursor(event:MouseEvent):void{
cursor.x = event.stageX;
cursor.y = event.stageY;
event.updateAfterEvent();
}
}
}
best regards
--
Leandro Amano
</Quote>
//Original question:
To clarify the situation a bit more better, i have uploaded the most
relevant code along with a sample file at this thread:
http://www.kirupa.com/forum/showthread.php?t=265342.
//////////////////////////
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com