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






Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.

--
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




Reply via email to