uhmmm ... try with event.currenTarget.getRepeaterItem().

--- In [email protected], Webdevotion <[EMAIL PROTECTED]> 
wrote:
>
> I'm trying to get the data out of a clicked image:
> I'm working with the adobe flickr classes.
> 
> <mx:Tile>
>      <mx:Repeater id="rp" dataProvider="{ photos }">
>             <mx:Button click="dump.text = 'url is: '
> +event.target.getRepeaterItem().url"/>
>     </mx:Repeater>
> </mx:Tile>
> 
> 
> All I get is "[object Photo]" for the event.target.getRepeaterItem
() part.
> event.target.getRepeaterItem().url returns "null"
> 
> Can anyone shed some light in my darkness ?
> 
> Thanks !
>







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