You can't strict type items in a hash.  You never could, and you don't
need to.  You cast them as you pull them out of the hash.

myObject[i] = {};
myObject[i].prop = "Prop Value";
var someProp:String = myObject[i].prop;

Not to mention, casting as object is considered weak typing since an
object can be anything, so it should be avoided unless you are really
casting a object.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to