Are you using the Button component, or a button symbol?

And that code is just being attached right to the button it seems.. Is
that correct?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mendelsohn, Michael
Sent: Friday, December 16, 2005 11:59 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] No consecutive onRelease() events?


Thanks for the link, Lanny.  However, unlike the article, in my
situation, it's not a textField component keeping focus, but a comboBox.
Adding Selection.setFocus(this) to the on(release) function of my button
still isn't clearing out focus from the comboBox.  Am I missing
something?

I'm trying the following code on the button, where a comboBox component
is on the stage at the same time:

on (release) {
        trace("hello " + Math.random());
        Selection.setFocus(this);
}

on (press, releaseOutside, rollOver, rollOut) {
        // just for fun, I'm adding this function, but it's not working
either.
        Selection.setFocus(this);
}

Thanks,
- MM

_______________________________________________
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