RE: [flexcoders] Re: getCharBounds not working on AIR?

2008-02-21 Thread Gordon Smith
for that. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Thursday, February 21, 2008 2:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: getCharBounds not working on AIR? 1. It seems a little

Re: [flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread Daniel Freiman
If you want a simple wait, you can use uicomponent.callLater(). (See the docs). The other alternative is to listen for an event but which even to listen for depends on your use case. (for example if this is happening when the application is loaded applicationComplete would probably be the

RE: [flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread Gordon Smith
Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Wednesday, February 20, 2008 8:48 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: getCharBounds not working on AIR? Great, it seems like callLater saved my

RE: [flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread Gordon Smith
: [flexcoders] Re: getCharBounds not working on AIR? 1. If the same code produces different character bounds in AIR than in the Flash Player, that's a bug and you should file it. It produces the same bounds, you just can't access the function at the same time, that is upon setting the text