1 Reply Latest reply on May 12, 2007 12:21 PM by robsharma1985

    is this possible to do with a TileList

    robsharma1985
      [Bindable]
      [Embed(source="Clock.png")]
      public var clock:Class;
      private function init():void
      {
      if(cool.name == clock1)
      {
      Alert.show("COOL");
      }

      <mx:TileList width="100%" id="cool" dragEnabled="true" itemClick="init()">
      <mx:dataProvider>
      <mx:Array>
      <mx:Object label="Clock" icon="{clock}" name = "clock1" id="clock1"/>
      <
      </mx:Array>
      </mx:dataProvider>
      </mx:TileList>


      so what i am trying to do is if the user selected the clock instead of doing the selectedINDEx since i may want to move the clock farther down i just want it to be retrieved by its name