My Flash application needs to dynamicly load flash elements with the interface IFlashElement
and a baseClass called AbstractFlashElement wich implemented IFlashElement and INotifier.
In most cases it needs to send a notification on change so i extended IFlashElement with INotifier,
i added the functions needed and a facade getter:
public function sendNotification(inName : String, inBody : Object = null, inType : String = null) : void {
facade.sendNotification(inName, inBody, inType);
}
public function initializeNotifier(inKey : String) : void {
facade.initializeNotifier(inKey);
}
public function get facade() : IFacade {
return MixerFacade.getInstance(PureMvcConstants.SELECTED_THEME);
}
So i thought i could send a notification when changing something i the dynamic content and PureMVC will do the rest!
I will get this error:
method not implemented org.puremvc.as3.multicore.interfaces::INotifier/org.puremvc.as3.multicore.interfaces:INotifier::sendNotification()
over-binding 0 in nl.zappmixer.view.ui.elements.animation::FlashAnimation
method not implemented org.puremvc.as3.multicore.interfaces::INotifier/org.puremvc.as3.multicore.interfaces:INotifier::initializeNotifier()
over-binding 0 in nl.zappmixer.view.ui.elements.animation::FlashAnimation
VerifyError: Error #1053: Illegal override of FlashAnimation in nl.zappmixer.view.ui.elements.animation.FlashAnimation.
at global$init()
But i deleted this Class called FlashAnimation which also implemented the interface and also had AbstractFlashElement as BaseClassDO i extend the wrong interface inside IFlashElement or is it something else what i just don't see.
Thanks