Hi, Why not this?
var value:String = options[flag].toString();
if (value != null)
key += value;
The issue occurs when options[flag] is not a String but a Boolean right? So I
think what you checked in in would still cause it to not be added to the key?
(Off top of head not tested.)
Thanks,
Justin
