[flexcoders] Re: New to FLEX

2008-09-22 Thread Boon Chew
O'reilly's Learning Flex is really good.  The book is printed in full color too, so yummy. http://www.amazon.com/Learning-Flex-Internet-Applications-Developer/dp/0596517327

[flexcoders] How to turn a dynamically loaded swf into a popup quick?

2008-09-19 Thread Boon Chew
I have a swf that I am loading in via SWFLoader and I would like to treat it like a regular popup (like the ones created via createPopUp), is that possible to do with PopUpManager? What's the alternative in order to achieve what PopUpManager achieves (ability to set modal/non-modal, bring to

Re: [flexcoders] How to turn a dynamically loaded swf into a popup quick?

2008-09-19 Thread Boon Chew
. A thought, don't know the security issues though. Mike On Fri, Sep 19, 2008 at 2:02 PM, Boon Chew [EMAIL PROTECTED] com wrote: I have a swf that I am loading in via SWFLoader and I would like to treat it like a regular popup (like the ones created via createPopUp

Re: [flexcoders] RE: Alex going offline for a while - and Gordon too!

2008-09-18 Thread Boon Chew
Thanks for the notice, now I gotta push back my project deadline 'til when you guys are back ;) - boon --- On Thu, 9/18/08, Gordon Smith [EMAIL PROTECTED] wrote: From: Gordon Smith [EMAIL PROTECTED] Subject: [flexcoders] RE: Alex going offline for a while - and Gordon too! To:

[flexcoders] createPopUp and addPopUp, which one to love?

2008-09-10 Thread Boon Chew
What's the process/criteria in deciding whether to use createPopUp vs addPopUp?  They seem interchangeable.  What is it that you can do with one that you can't do with the other? Which one do you use the most? [-] The doc says: You can use the addPopUp() method of the PopUpManager to create a

[flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Boon Chew
Hi, Is there a quick way to turn off horizontalScrollPolicy / verticalScrollPolicy or prevent them from showing up once and for all for all containers in an app without resorting to patching? - boon

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Boon Chew
[mailto:flexcoders@ yahoogroups. com] On Behalf Of Boon Chew Sent: Monday, September 08, 2008 5:26 PM To: flexcoders Subject: [flexcoders] turn horizontalScrollPol icy and verticalScrollPolic y off for all   Hi, Is there a quick way to turn off horizontalScrollPol icy

RE: [flexcoders] turn horizontalScrollPolicy and verticalScrollPolicy off for all

2008-09-08 Thread Boon Chew
Adobe Flex SDK Team   From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of Boon Chew Sent: Monday, September 08, 2008 5:26 PM To: flexcoders Subject: [flexcoders] turn horizontalScrollPol icy and verticalScrollPolic y off for all   Hi

[flexcoders] Donkey patching UIMovieClip subclass...

2008-08-28 Thread Boon Chew
Hi, I just started using the Flex Component Kit so I am probably not doing it right.  If I have a symbol that's linked to a UIMovieClip subclass in my Flex project, and if the class uses any Flex framework stuff, Flash would refuse to publish my FLA skin file.  This makes sense since the Flex

[flexcoders] Exit effect for popup when being removed

2008-08-26 Thread Boon Chew
Hi, What's the best way to have a popup menu play an exit effect when it is about to be removed by PopUpManager.removePopUp? Should we play the effect first (say dissolve or wipe up), then on effect end call  removePopUp, or is there a more direct / simpler way? - boon

Re: [flexcoders] Exit effect for popup when being removed

2008-08-26 Thread Boon Chew
the exit effect handler there but that doesn't seem to work. - boon --- On Tue, 8/26/08, Boon Chew [EMAIL PROTECTED] wrote: From: Boon Chew [EMAIL PROTECTED] Subject: [flexcoders] Exit effect for popup when being removed To: flexcoders@yahoogroups.com Date: Tuesday, August 26, 2008, 6:11 PM

[flexcoders] Skinning TitleWindow Question

2008-08-21 Thread Boon Chew
Hi, I am trying to skin TitleWindow so that the main content area uses gradient (like header and footer).  Also want the close button on the left instead of right.  What's the best way to go about this short of creating a custom container from scratch? - boon

[flexcoders] Does ASVM JIT compiler get rid of empty functions?

2008-08-15 Thread Boon Chew
  Does anyone know if the Actionscript Virtual Machine JIT compiler removes calls to functions with empty body?  The reason for asking this is that I am using assert calls in my code a lot, and I plan to comment out the assert function body in release build so it becomes a no-op.  Will the code 

[flexcoders] Large XML /w E4X vs. serialized objects /w tree traversal

2008-08-03 Thread Boon Chew
Hi, I am building an app that deals with a fair bit of people relationship data coming down as XML, so the hierarchical nature of XML actually comes in handy here.  I have a few options: one is to serialize each person XML node into an object, and setup the appropriate data structure for

Re: [flexcoders] Re: Large XML /w E4X vs. serialized objects /w tree traversal

2008-08-03 Thread Boon Chew
can embed your own events and errors. This means (unit-) testing becomes more effective. The cons: * You have to implement a parser. Best regards from Germany. --- In [EMAIL PROTECTED] ups.com, Boon Chew [EMAIL PROTECTED] . wrote: Hi, I am building an app that deals with a fair

[flexcoders] override/monkey patch global functions possible?

2008-08-02 Thread Boon Chew
Hi, Is it possible to override global functions such as trace( ) ?  For example, sometimes I want the trace( ) to tell me where they are called from, but it's kinda a pain to have to import getQualifiedClassName and sprinkle code with stuff like (getQualifiedClassName(this) + : + ...); all

RE: [flexcoders] When not to use weak references?

2008-07-15 Thread Boon Chew
, but this is as I understand it, and no doubt I've missed a few things here and there.   --Tim Rowe From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Boon Chew Sent: Tuesday, 15 July 2008 2:08 PM To: [EMAIL PROTECTED] ups.com Subject: [flexcoders] When

[flexcoders] When not to use weak references?

2008-07-14 Thread Boon Chew
Hi all, I have read posts that preached the goodness of weak references for event listening, but have not read anything that suggests when you should use strong reference over the weak one, and  the down side to using weak references. Any ideas when being weak is not bad thing? :) - boon

RE: [flexcoders] In actionscript, converting from string to number loses precision

2006-03-09 Thread Boon Chew
decimal. The Number type in AS3 is the same as the 'double' type in Java and C++, which have the same issue.- GordonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew Sent: Wednesday, March 08, 2006 9:31 AM To: flexcoders@yahoogroups.com

[flexcoders] In actionscript, converting from string to number loses precision

2006-03-08 Thread Boon Chew
Anyone has any idea why it's not possible to convert a string to a number without losing precision?var s:String = "952.86";var i:Number = parseFloat(s);trace(i);trace(i - 952.86); // Not zero! - boon Yahoo! Mail Use Photomail to share photos without annoying attachments. --

RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-04 Thread Boon Chew
just kept the reference instead of the string?- GordonFrom: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boon Chew Sent: Friday, March 03, 2006 3:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] eval gone in AS3, how to get

[flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-03 Thread Boon Chew
Hi all,With the _eval being gone in AS3, does anyone know how to get to the reference of a movieclip (via the target name string) without using _eval (e.g. "_level0.mc1.mc2.mc3") ? I know we can instantiate an object from a class name string via the _global namespace but not positive about