Jump to content
Search Community

fredforum

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by fredforum

  1. My program uses the TransformManagerTool AS3 from Greensock.

    I'm trying to have my program NOT deselect my selected item when the user chooses a color from a color picker flash component.

    To do so I added the color picker to the igneredObject list:

     

                           tManager.addIgnoredObject(myPicker);
    

     

    The picker is added with success but clicking any color from the palette deselects any selected item. I then though I should add the components children to the ignoredObject list:

     

    		for (var i:uint = 0; i < myPicker.numChildren; i++){
    			tManager.addIgnoredObject(myPicker.getChildAt(i));
    		}
    

     

    Which changed nothing. I traced the added children and the component seems to only have 1 button child. I guess I missunderstood the way the components work.

    How could I make it so the color picker component does not deselect selected items?

×
×
  • Create New...