Howdy all...

I'm hoping someone can clear up a little confusion of mine:

In the photoviewer example that comes with Flex 2, why can you only 
get to the data of the instatiated PhotoService class via <mx> tags, 
but when you try to access any of the object via actionscript they 
always show up as null?

For example

<mx:Binding source="service.galleries.getItemAt(0)" 
destination="gallery" />

works fine, but if you tried to do:

var o:Object=service.galleries.getItemAt(0), 

o would be null (provided there were no cast exceptions).

Thanks!
Wayne






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



Reply via email to