Flapflap
|
 |
« on: December 10, 2007, 09:52:55 » |
|
I there,
I'm coming from other frameworks such as LowRA and wonder why Mediator name are so complicated to implement ?
For each mediator you create you have to copy the override function getMediatorName with SAME code each time, wich is quite annoying...
Why not have a private instance variable for name as this :
_sName : String // The mediator name
public function Mediator( document : Object, name : String) : void { _sName = name; ...
public function getMEdiatorName() : String { return _sName; }
Thanks
|