there's a newly-add flash.util.collection which should be able to handle java map.
check it out in beta2.
On 3/22/06, dos dedos <[EMAIL PROTECTED]> wrote:
just guessing ... but maybe there is no support yet in AS for Java map type
lorejava < [EMAIL PROTECTED]> wrote:Hello,
I have a reading problem when I use returned a java.utilMap from a
Java class.
Follow my code:
Java class
----------
public Map getHashMap()
{
Map hm = new HashMap();
hm.put("HashMap1", "valore1");
hm.put("HashMap2", "valore2");
hm.put("HashMap3", "valore3");
return hm;
}
Flex Monitor result when i call my java method:
-----------------------------------------------
[array] :
length[Number] : 0
In AS I call and read the method in this way:
--------------------------------------------
remoteDataService.getHashMap().send;
...
var stab:Object=event.result;
txt.text= "-->" + stab[0].value;
What's wrong??? All?
Thanks for your next replies. Bye
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

