First of all you need to get the cell selected , Please follow this
simple example
var canBox: Box  = new Box;
canBox.addEventListener(MouseEvent.CLICK, clickHandlerFunction);


                        }
public var selectedBox : Box ;
private function clickHandlerFunction(eve: MouseEvent):void{
        selectedBox =   eve.currentTarget as Box;
        selectedBox.setFocus();// this will make the previous box unfocused
and current box focused

}


Cheers

Varun Rathore
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to