But calling describeType() is probably much slower than the try/catch
approach.

 

Gordon Smith

Adobe Flex SDK Team

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Tuesday, May 06, 2008 11:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: isDynamic(obj) ?

 

flash.utils.describeType() returns XML describing the object.
The root node has an attribute "isDynamic"..

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Guys,
> 
> Is there some easy way to tell if an object is dynamic without
wrapping it
> in a try-catch and just messing with it?
> 
> Cheers,
> -J
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>

 

Reply via email to