A common issue I am having with as3 at the moment, I wanted to get some ideas on to see if anyone has a better solution.
I want to use a method for an event and also call it directly without having to double up on methods, not a biggy but really anoying when you have lots of buttons. If I try to call the method directly flash complains that I have the wrong amount of args and if I leave out the event flash complains.
maybe some code would help, here is what I am doing
private function setupButton():void
{
_btn.addEventListener( MouseEvent.MOUSE_UP, pressedE );
// call directly first time for instance
pressed();
}
private function pressedE( e: Event )
{
pressed();
}
private function pressed():void
{
trace('all that for a trace!');
}
so how do I do this without having both pressedE and pressed, ideas welcome.

