Whenever you use a v2 component a MovieClip is being created in the main 
timeline, called focusManager.
It's the v2 FocusManager that steals focus and messes up events for other (non 
component) objects.

Simply drag any v2 component on stage, test move and do a "list variables" or "list 
objects".
You'll see a movieclip called focusManager in there somewhere.

If you place the following code in the main timeline it should fix the 
event/focus problem:

function onMouseDown():Void {
   focusManager.enabled = false;
}
function onMouseUp():Void {
   focusManager.enabled = true;
}

regards,
Muzak

----- Original Message ----- From: "Andrew Sinning" <[EMAIL PROTECTED]>
To: "Flash Coders List" <[email protected]>
Sent: Sunday, February 17, 2008 8:13 PM
Subject: Re: [Flashcoders] non-selectable TextFields are catching 
onPress,stumped


In the loaded in movie where everything takes place I'm just using the Loader and ProgressBar components. I put the focusManager code in that movie.

In the shell movie that loads in this movie I'm using a DataGrid component for debugging. I tried taking it out just now, but it doesn't seem to change the issue I've described.

Muzak wrote:
Are you using any v2 components?


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

Reply via email to