0 Replies Latest reply on May 11, 2010 10:14 AM by mctonyV

    remove childs except selected

    mctonyV

      A good day,

      I'm making a Flash project in Flex by wich i call some pictures from an xml file.

      But now I want to tween all the objects (except the selected picture) out of my screen if i click on a picture

      I have no idea how to solve this and without that, i can't continou the project

       

      with the underlining code i am able to select the picture i clicked (as an example, the selected picure will get an alpha of 50%)

      private function menuClickedHandler(event:Event):void {

           currentItem = event.currentTarget as menuItem;

           currentItem.alpha = .5

      }

       

      any help would be appriciated

      thank you