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

Show Posts

* | |

  Show Posts
Pages: [1]
1  PureMVC Manifold / MultiCore Version / FIXED: Dynamic Asset needs to send Notification 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.
2  PureMVC Manifold / MultiCore Version / FIXED: Dynamic Asset needs to send Notification 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
3  Announcements and General Discussion / Getting Started / Re: my view component needs a mediator on: June 04, 2009, 12:01:08
Ok that sounds reasonable..
I will go and work on that one!

i'll let you know.

thanks for your time!

4  Announcements and General Discussion / Getting Started / Re: my view component needs a mediator on: June 04, 2009, 07:09:05
This is what i do.. but i don't really know where to put stuff..

In my ApplicationFacade i create a StageMediator

Now i create a NavigationMediator also in my ApplicationFacade? Or in my StageMediator?

In my Navigation i need several buttons. Do i need to create them in my viewComponent or in the navigationMediator?

The button mousevents are in the mediator where i send a notification to show another page.

THe thing is where i just losing it is where to and how to add the navigationview to the stage.

Cheers
5  Announcements and General Discussion / Getting Started / Re: my view component needs a mediator on: June 04, 2009, 05:25:47
easy as that..   ;D

Thanks
6  Announcements and General Discussion / Getting Started / my view component needs a mediator on: May 26, 2009, 02:36:37
Hi there..
I'm new to pure mvc in as3.

I have a stage mediator where i create a navigation view.
But my navigation has to listen to some notifications.
and so as i believe i need a mediator for my view.

I have in my StageMediator class the next code:
:
_navigationView = new NavigationView(_styleSheetProxy.css);
stage.addChild(_navigationView);

How can i add a mediator?
do i add it in my view class NavigationView or hre on my Stage Mediator?
And how?

Kind regards, Jos
Pages: [1]