Andrew, 
 
Typically this behavior is the result of a change in focus following from
the first click. Try adding this line to your onRelease function: 
 
Selection.setFocus(this); 
 
Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:flashcoders-
> [EMAIL PROTECTED] On Behalf Of Andrew Sinning
> Sent: Saturday, February 16, 2008 1:32 PM
> To: Flash Coders
> Subject: [Flashcoders] non-selectable TextFields are catching
> onPress,stumped
> 
> I've created some buttons that sit beneath some TextFields.  They're not
> Flash buttons, but rather just clips with onPress/Release/... functions
> assigned to them.  The TFs aren't selectable.  The button choice require
> 2 clicks -- the first click is to select an answer, the second is to
> "confirm" the answer.  Here's my trouble:
> 
> When the cursor moves over the button it changes to the hand-cursor and
> the _1ST_ click fires off onPress and onRelease.
> 
> After the first click, if the mouse stays in exactly the same position,
> ALL clicks are ignored.  Also, when the mouse is down the cursor becomes
> the arrow-cursor.
> 
> If after the first click the mouse is moved at lease one pixel, then
> onPress and onRelease behave as they should.
> 
> It's like the first click is telling the TFs to catch any clicks at that
> same location.  How can I prevent this?
> 
> Thanks!
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

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

Reply via email to