[flexcoders] Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread dmiramontesval
I have this weird issue and i can't figure it out, let me explain: I have a java object A which has a HashMap variable myMap, this map will hold objects of class B. In ActionScript i have the corresponding class A which has a variable myMap but since there is no HashMap in ActionScript its type

Re: [flexcoders] Issue when converting HashMap(Java) into Object (ActionScript)

2008-09-08 Thread Josh McDonald
The problem I think is you're using the wrong data structures. If your Java map looks like this: HashMapint, String myMap; What you'll get in Flex isn't what you've got below, it's an object like this: var mymap : Object = { 1: String 1, 2: String 2, 79: Blue } Not the