Mega Code Archive
Categories
/
Flex
/
Event
Add a click event listener to each of the colored boxes
public function moveUp(event:Event):void { var box:Canvas = event.currentTarget as Canvas; colorsPanel.removeChild(box); colorsPanel.addChild(box); }