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]
16  PureMVC Manifold / MultiCore Version / New to Multicore - big Flash app planning on: May 08, 2008, 10:07:30
Hi Cliff and the gang,

We're about to embark on a fairly large project in Flash which needs to be written in a fairly modular fashion. I am sure MultiCore lends itself well to the project but I am unsure about how to go about implementing it, so I was wondering if you could help.

The basic layout is a shell SWF which deals with loading and playback of sub-SWFs. Each of these sub SWFs is going to be a game or similar, and will probably have its own PureMVC core. The main shell SWF will need its own core too.

What I need is to create an API of sorts for communicating (hopefully sending Notifications) between the cores. Is this possible? So for example, my shell SWF loads in game 1 and sends a notification to it to play. When the game has been completed successfully I would like the game core to send a notification to say it has finished which is then picked up by the shell core so it may carry on.

Is MultiCore right for this project? Does anyone have any clues as to how to lay it out so the cores may communicate between each other in this fashion?  ???

Thanks!  ;D

:-Joe
17  PureMVC Manifold / Demos and Utils / Re: StartupManager - A PureMVC AS3 Utility on: April 18, 2008, 09:00:04
Hi Philip,

Apologies for the delay in replying- I never had a subscription email so I didn't realise anyone had replied!  :o

Let the animations proxy have a property that references a config object (approach 1) or maybe even references the config proxy directly (approach 2).  Let the music proxy have a similar property.
But I thought in PureMVC you were not allowed to communicate directly between proxies? Did you mean I should pass in the instance of the configProxy to both proxies when they are initialised? Is this allowed?

Thanks for your help!  :)
18  PureMVC Manifold / Standard Version / retrieveMediator / retrieveProxy on: March 28, 2008, 10:32:34
Hi there,

Are there any plans to streamline retrieveMediator and retrieveProxy? Or perhaps it's just not possible? There are two "niggles":

1. The whole thing has to be typed at the end, which is a bit of a mouthful on every line
2. In 2.0 you cannot use the constant Proxy.NAME or Mediator.NAME because names are now variable, so where to store a constant relating to the name... In the ApplicationFacade?

I'm just rambling, but if anyone has any input or ideas here I'd be interested in hearing them!

cheers  ;D

:-Joe
19  PureMVC Manifold / Demos and Utils / Re: StartupManager - A PureMVC AS3 Utility on: March 28, 2008, 10:08:33
Hi there,

I just started using the StartupManager, but I am unsure it is what I am looking for... My problem is that I'm not just loading stuff, I'm also generating stuff in a particular order. In other words, my list of startup 'things' I wish to do in order is:

1. load config
2. generate on-screen graphics based on config data
3. load animations based on config data
4. load music based on config data

preferably with a loader bar as the process is working. However from what I can gleam from this utility, the only extra function implemented is 'load'. Once my config has loaded, I want to call functions with parameters based on data within the configProxy... Though armed with only a 'load' function, I cannot see how this is possible.

Can anyone help?

Thanks!

:-Joe ;)
Pages: 1 [2]