This is a simpler approach, copy and paste it into new FLA and try:

[CODE]

_root.createTextField("txt",10,10,10,200,30);
onMouseMove = function(){
        if (_xmouse < 0 || _xmouse > Stage.width || _ymouse <0 ||
_ymouse > Stage.height){
                txt.text = "Your cursor is off now.";
        }else{
                txt.text = "Welcome back, cursor.";
        }
}

[/CODE]

Cheers :-)

[...]   Sam Liu
Flash Developer - Languages Online
Office of Learning and Teaching
Department of Education and Training
 

T:  (03) 9637 2102    F:  (03) 9637 2060

 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Kilmer
Sent: Monday, 31 October 2005 1:21 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Mouse notification when leaving a swf...


In ActionStep Scott Hyndman has built a set of custom cursors.  This  
is VERY
cool when you are over the swf but is there a way we can hide the cursor
when the "real" cursor leaves the swf?  Is there any  
notification of mouse exit?  This must not rely on javascript, but be  
intrinsic to Flash itself.

Thanks,

-rich

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Important - 
This email and any attachments may be confidential. If received in error, 
please contact us and delete all copies. Before opening or using attachments 
check them for viruses and defects. Regardless of any loss, damage or 
consequence, whether caused by the negligence of the sender or not, resulting 
directly or indirectly from the use of any attached files our liability is 
limited to resupplying any affected attachments. Any representations or 
opinions expressed are those of the individual sender, and not necessarily 
those of the Department of Education & Training.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to