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] 2 3 4
1  PureMVC Manifold / Standard Version / How to set up pureMVC with Flash CS4? on: November 16, 2009, 11:04:56
I see the installation for flash cs3,but cs4 have different folders with cs3.

Thanks

Mark
2  Announcements and General Discussion / Fabrication / Re: Question about notification handler? on: March 29, 2009, 06:17:47
Hi Tek,

respondTo****(note:INotification) is the special way used in Fabrication.

I discuss about Fabracation now.

Thanks

Mark

3  Announcements and General Discussion / Fabrication / Question about notification handler? on: March 27, 2009, 02:26:43
Hi,

We have two way to handle notifications ,that are handleNotification(note:INotification) and respondTo****(note:INotification).

May I use both method in same AS mediator file?

Thanks

Mark
4  PureMVC Manifold / Standard Version / easy way to remove all Mediator? on: March 26, 2009, 12:49:19
Hi,

I know how to if I can use a easy way to remove all mediator at same time.

I remove it one by one now.

Thanks


Mark
5  Announcements and General Discussion / Fabrication / Re: Quetion for "respondTo"? on: March 18, 2009, 06:54:12
Hi,

It seems the documentation should have the following:

respondTo<ProxyName>

"this handle all the notifications that send from <ProxyName>"

Do you think if my understanding is right?

Thanks

Mark
6  Announcements and General Discussion / Fabrication / Re: Quetion for "respondTo"? on: March 17, 2009, 06:55:35
I know "respondTo" is used for handle Notification and the syntax is respondTo<NotificationName>.

My question is for the special function in simple_routing demo.

public function respondToModuleMessageCountProxy(note:INotification):void {
   .....
}

ModuleMessageCountProxy should be a notification but it is proxy name,do you think if "respondTo"  can used for handle proxy name?

Thanks

Mark
7  Announcements and General Discussion / Fabrication / Quetion for "respondTo"? on: March 16, 2009, 02:06:15
I read the doc for respondTo, that means respondTo<NotificationName> .

But I see the following code  in simple_routing demo

public function respondToModuleMessageCountProxy(note:INotification):void {
   .....
}

I can not find "ModuleMessageCountProxy" as NotificationName.it is a Proxy Name. I am confuse for this.
Please help

Thanks

Mark
8  PureMVC Manifold / MultiCore Version / two modules with seperate delegate. on: March 04, 2009, 11:17:47
Hi,

I load two different module in the shell,I get the follow error when I use one of them to talk with database with delegate.

Do you know why this happens.

Thanks

Mark

ps: error message:

TypeError: Error #1034: Type Coercion failed: cannot convert mx.messaging.messages::AcknowledgeMessageExt@4ffc139 to mx.messaging.messages.IMessage.
TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::HistoryManagerImpl@ef18089 to mx.managers.IHistoryManager.
   at mx.managers::HistoryManager$/get impl()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:96]
   at mx.managers::HistoryManager$/unregister()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\managers\HistoryManager.as:144]
   at mx.containers::Accordion/removedFromStageHandler()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\containers\Accordion.as:2160]
   at flash.display::DisplayObjectContainer/removeChild()
   at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5074]
   at mx.core::Container/removeChild()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Container.as:2267]
   at shell.view::ModulesContainerMediator/unloadModule()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\view\ModulesContainerMediator.as:110]
   at shell.view::ModulesContainerMediator/respondToRemovedFromList()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\view\ModulesContainerMediator.as:81]
   at org.puremvc.as3.multicore.utilities.fabrication.patterns.mediator::FabricationMediator/invokeNotificationHandler()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\patterns\mediator\FabricationMediator.as:579]
   at org.puremvc.as3.multicore.utilities.fabrication.patterns.mediator::FabricationMediator/handleNotification()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\patterns\mediator\FabricationMediator.as:384]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at org.puremvc.as3.multicore.patterns.observer::Observer/notifyObserver()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Observer.as:100]
   at org.puremvc.as3.multicore.core::View/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\core\View.as:127]
   at org.puremvc.as3.multicore.utilities.fabrication.core::FabricationView/notifyObservers()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\core\FabricationView.as:77]
   at org.puremvc.as3.multicore.patterns.facade::Facade/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:294]
   at org.puremvc.as3.multicore.patterns.facade::Facade/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:277]
   at org.puremvc.as3.multicore.patterns.observer::Notifier/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Notifier.as:60]
   at org.puremvc.as3.multicore.utilities.fabrication.patterns.proxy::FabricationProxy/sendNotification()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\patterns\proxy\FabricationProxy.as:161]
   at shell.model::ListProxy/remove()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\model\ListProxy.as:34]
   at shell.model::ListProxy/removeAll()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\model\ListProxy.as:40]
   at shell.controller::RemoveAllModulesCommand/execute()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\controller\RemoveAllModulesCommand.as:14]
   at org.puremvc.as3.multicore.utilities.fabrication.core::FabricationController/executeCommand()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\core\FabricationController.as:164]
   at Function/http://adobe.com/AS3/2006/builtin::apply()
   at org.puremvc.as3.multicore.patterns.observer::Observer/notifyObserver()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Observer.as:100]
   at org.puremvc.as3.multicore.core::View/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\core\View.as:127]
   at org.puremvc.as3.multicore.utilities.fabrication.core::FabricationView/notifyObservers()[D:\Projects\sawardekar\fabrication\googlecode\framework\trunk\src\main\as3\org\puremvc\as3\multicore\utilities\fabrication\core\FabricationView.as:77]
   at org.puremvc.as3.multicore.patterns.facade::Facade/notifyObservers()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:294]
   at org.puremvc.as3.multicore.patterns.facade::Facade/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\facade\Facade.as:277]
   at org.puremvc.as3.multicore.patterns.observer::Notifier/sendNotification()[C:\Documents and Settings\Owner.CapricornOne\My Documents\My Workspaces\PureMVC\PureMVC_AS3_MultiCore\src\org\puremvc\as3\multicore\patterns\observer\Notifier.as:60]
   at shell.view::MessageControlBarMediator/removeAllButtonListener()[D:\WORKSPACE\Flex Builder 3\FabricationRounting\src\shell\view\MessageControlBarMediator.as:179]
9  PureMVC Manifold / MultiCore Version / what this error means? on: March 04, 2009, 10:22:53
I just do a test for the multicore.I get the error message.Please help.Thanks

Mark

Unable to resolve a class for factoryClass: pipeworks1_modules_LoggerModule_mx_core_FlexModuleFactory.
10  PureMVC Manifold / MultiCore Version / Re: Flex with two swf modules demo need? on: March 03, 2009, 08:25:05
Hi Cliff,

Thanks

I read the pipeworks. shell load modules with mediators in the demo?

I am looking for a demo that load module at runtime with ModuleLoader. which demo is like that?

How to change the code to make pipeworks can use ModuleLoader?

Thanks

Mark
11  Announcements and General Discussion / Fabrication / Re: "Router was not set on the module" error on: March 02, 2009, 09:21:18
The problem is fixed after I remove mx:ModuleLoader in mxml.

Thanks

Mark
12  Announcements and General Discussion / Fabrication / Re: The modules with proxies have error when load both on: March 02, 2009, 09:18:52
Hi Darshan,

I use the same version SDK for the modules and shell.

any other possibility to fix the problem. Please help


Thanks

Mark
13  PureMVC Manifold / MultiCore Version / Re: Why I can not load Module in Multicore pureMVC? on: February 28, 2009, 10:12:42
This is the error message when I load a module in the shell:

VerifyError: Error #1014: Class IWatcherSetupUtil could not be found.

   at flash.display::MovieClip/nextFrame()
   at mx.core::FlexModuleFactory/deferredNextFrame()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:467]
   at mx.core::FlexModuleFactory/update()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:295]
   at mx.core::FlexModuleFactory/moduleCompleteHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\FlexModuleFactory.as:542]


if that possible to load multicore module at runtime?How to do that?Thanks

Mark
14  PureMVC Manifold / MultiCore Version / Why I can not load Module in Multicore pureMVC? on: February 28, 2009, 09:14:16
Hi,

I want to load module at runtime from Shell , but I can not load the module.(the module also build with multicore pureMVC).I do not know why. I am sure it works in normal Flex without pureMVC framework.

private function loadModule( event: MouseEvent ): void
{
      moduleLoader = new ModuleLoader;            
      moduleLoader.url = "SimpleModule.swf";
      moduleLoader.loadModule();
      moduleBox.addChild(moduleLoader);         
      moduleLoader.addEventListener( ModuleEvent.READY, moduleReadyHandler);
         
}

Please help me.Thanks

Mark
15  PureMVC Manifold / MultiCore Version / Flex with two swf modules demo need? on: February 27, 2009, 06:30:36
Hi,

I plan to build two modulea with Flex and create two swf files from them.

Then I use shell to load the two modules and I need communication between them.

Do you have a similar demo for this?Please let me know.

Thanks

Mark

Pages: [1] 2 3 4