Its pretty easy with AS3's reflection API; take a look at
flash.utils.describeType.

Jason
// Sekati

On Jan 4, 2008 8:51 PM, Jamie S <[EMAIL PROTECTED]> wrote:

> I ran into a particular situation where i had a function that took an
> Object as a parameter. I needed that Object to be an actual Object
> i.e. dynamic because the function was going to add properties to it.
> But since everything in ActionScript is an Object I had trouble
> enforcing this.
>
> Is there a way to check to see if an Object is dynamic? Or is there a
> way to enforce something as an Object rather than a subclass of in
> Object (which is everthing else)?
>
> Jamie
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
:::
: jason m horwitz // sekati llc // nyc + mke
: [EMAIL PROTECTED] | [EMAIL PROTECTED]
: http://sekati.com | http://cv.sekati.com
: +1.414.455.4406 | +1.646.662.3331
: aim/skype: n0kati
:::
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to