Dictionary

extern class flash.utils.Dictionaryimplements Dynamic<Dynamic>Available in flash function new( ?weakKeys : Bool ) : Void
version #13174, modified 2012-04-12 22:27:35 by api
1 comment
  • Asger Ottar Alstrup
    Dec 11, 2008 at 15:37

    To inspect a value, use

    dict[key]

    To set/update a value, use

    dict[key] = value;

    To iterate the values of a dictionary, use

    var keys : Array<Dynamic> = untyped __keys__(dict);