[flexcoders] Re: getCharBounds not working on AIR?

2008-02-22 Thread b_alen
@yahoogroups.com Subject: [flexcoders] Re: getCharBounds not working on AIR? 1. It seems a little bit odd, having to help you identify such obvious bugs, who knows what else we can expect then. I have an issue with your bug report system, where people are just marking everything as Cannot

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-21 Thread b_alen
: Wednesday, February 20, 2008 9:51 PM To: flexcoders@yahoogroups.com Subject: [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

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

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
Wow, that was fast, I didn't even manage to finish the cigarette :) And it works. Now, should I use the interval or is there a more elegant way to know that the component is ready? You were mentioning refresh. Thanks a ton buddy --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL

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

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
Great, it seems like callLater saved my butt. Luckily i also found the blog which explains in short the WHY's and HOW's of the callLater. Title of the blog is callLater() - The Function That Saved My Butt. It's here:

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

[flexcoders] Re: getCharBounds not working on AIR?

2008-02-20 Thread b_alen
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 butt. Luckily i also found the blog which explains in short the WHY's and HOW's

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