You can read it like this:
for (var key in myObjmap){
var myItem=myObjmap[key];
Do something .... myItem.property
}
One question on this topic .... how do we send them back to Java? Let's
say you added a new key to the HashMap in Flex and want to send it back for
processing....
|---------+----------------------------->
| | |
| | "Matt Chotin" |
| | <[EMAIL PROTECTED]> |
| | Sent by: |
| | [email protected] |
| | 11/29/2005 11:56 PM |
| | Please respond to |
| | flexcoders |
| | |
|---------+----------------------------->
>-----------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [email protected]
|
| cc:
|
| Subject: RE: [flexcoders] Mapping Java HashMap to Flex Actionscript
|
>-----------------------------------------------------------------------------------------------------------------------------|
When a HashMap is sent back to Flex it will simply be an Object. You can
access a value by doing myObj[key]
Matt
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of prasanthasi
Sent: Saturday, November 26, 2005 7:24 PM
To: [email protected]
Subject: [flexcoders] Mapping Java HashMap to Flex Actionscript
Hi,
I am trying map Java HashMap to Flex Actionscript. I have tried
Object mapping and Arrays with Associative keys. Nothing worked for
some reason. Please post a sample code if anyone knows how to do this.
--
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 Computer software Software design and
development development 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.
---------------------------------------------------------------------------
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---------------------------------------------------------------------------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/