Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: FIXED: Dynamic Asset needs to send Notification  (Read 7425 times)
joskoomen
Newbie
*
Posts: 6


View Profile Email
« on: June 11, 2009, 02:00:29 »

Hi there!

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 BaseClass

DO i extend the wrong interface inside IFlashElement or is it something else what i just don't see.

Thanks
« Last Edit: June 11, 2009, 03:39:10 by joskoomen » Logged
joskoomen
Newbie
*
Posts: 6


View Profile Email
« Reply #1 on: June 11, 2009, 03:16:42 »

I have all my assets in a external swf file..
which didn't got compiled right. SO it found old objects in the swf library with old settings.
My fold.
Logged
Pages: [1]
Print