2 Replies Latest reply on Apr 16, 2010 8:55 AM by La Bestia

    On click moving something to another state

    La Bestia Level 1

      OK so I have some thumbnails that once clicked it moves to the other state and puts it in a certain x,y coord on the stage. I've got the rollovers working but, what would I add to onClick?

       

      Can anyone help?

       

       

      <mx:Image top="193" left="51" width="200" height="150" source="/images/image1.jpg" mouseOver="onImageMouseOver(event)" mouseOut="onImageMouseOut(event)" includeIn="page1" click="{currentState='page2'}"/>