I found that this works as well (when it's an object with fields):
var o = getItem ( myTileList, 2, 2 ) ["label"];
trace(o); // Some Label
Thanks again, this totally worked!
ethan
> getItem returns whatever is at the index you are hover over.
>
> So, if it's a string, you'll get:
>
> var o = getItem ( myTileList, 2, 2 );
> trace(o); // Cow
>
> If it's an Object with the fields label, and data, you'll get this:
>
> trace(o); // [object Object];
> trace(o.label); // Some Label
> trace(o.data); // 42
>
> If it's a class object, like a ValueObject, you'll get the
> ValueObject:
>
> var person:PersonVO = new PersonVO("Jester", "XL");
> my_collection.addItem(person);
>
> // later...
> var o:PersonVO = getItem ( myTileList, 2, 2 ) as PersonVO;
> trace(o.firstName); // Jester
>
> You've already got the power... use it for teh w1n!
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/