Hi,
What do you thing about adding this to Bead.as ?
/**
* Helper function to remove event listener without the need for casting
* @royaleignorecoercion org.apache.royale.events.IEventDispatcher
*/
protected function
unlistenOnStrand(eventType:String,handler:Function,capture:Boolean=false):void
{
(_strand as IEventDispatcher).removeEventListener(eventType, handler,
capture);
}
I know that Bead.as should be keep simple but if we have listenOnStrand,
shouldn't we also have unlistenOnStrand ?
--
Sent from: http://apache-royale-development.20373.n8.nabble.com/