If you're using AS3, you might consider using a Dictionary object instead.

If not, then you could make your own dynamic subclass of Object and
use that (although that might break other code -- I'm not sure what
your situation is).

On Jan 4, 2008 5: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
>



-- 
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
http://exopolis.com/
--
http://3lbmonkeybrain.blogspot.com/
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to