1 Reply Latest reply on Sep 7, 2007 11:31 AM by phi2265

    ItemClickEvent and TileList in AS

    phi2265 Level 1
      I'm not sure what I have wrong here but this isn't working at all.. and it really looks like it should...

      I add this EventListener where I set the style and stuff, before i do addChild...

      myTileList.addEventListener(ItemClickEvent.ITEM_CLICK, doItemClick);

      public function doItemClick(event:ItemClickEvent):void{

      I also tried Alert.show(event.toString());

      no alert when I click... anyone have an idea?