> On 1/27/06, yaagcur <[EMAIL PROTECTED]> wrote:
> > I currently have a tile list which, when clicked on, 
> correctly calls a 
> > function
> >
> > <mx:TileList id="myTiles" dataProvider="{myData}"
> > listItemRenderer="ThumbNail" itemClick="imageClicked()" />
> 
> > function createListener():Void {
> >         myOtherTiles.addEventListener(MouseEvent.CLICK, 
> myClickListener);
> >     }
> 
> Manish wrote:
> You're looking for "itemClick" instead of "click" (MouseEvent.CLICK).
> 

I think either will work.... You're calling createListener() at some
point, right? Try adding it to the creationComplete event of the app
tag:

<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml";
height="100%" backgroundColor="#FFFFFF"
creationComplete="createListener()"> 

matt


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