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  Announcements and General Discussion / General Discussion / Flash CS4 Scene - Mediator on: October 07, 2009, 10:17:07
Hi,

  A little confused on how would i handle different flash scene through a mediator .. anyone have this before?

Kind Regards,
Joel
2  Announcements and General Discussion / Architecture / Interfaces on: June 25, 2008, 07:33:43
Hi,
 
 I notice in some examples, some implements interface and some don't (i.e. in FlickerGallery demo it only declares "public class ApplicationFacade extends Facade", while in HelloWorld demo is declares "public class ApplicationFacade extends Facade implements IFacade" ... I know the best practice is to program to Interface .. or is not declaring "implement InterfaceName" just a lazy way to do it even though it will work?

Thanks
3  Announcements and General Discussion / Getting Started / Re: Newbie : AS2 implementation trouble on: June 18, 2008, 02:05:29
My first PureMVC AS2 minimal application

http://digitalmonkstudio.com/lab/as2/puremvc/RandomizedImage/RandomizeImage.html
 ;D

Basically, this simple application has two frames. 1 for preloading and the 2nd frame for the application main proper (a typical setup i believe). There’s a component in the library (a custom one, named ExampleComponent) that is being loaded by a Mediator, and this Mediator (ExampleComponentMediator) communicates with this custom component and freely notifies the facade. The Images and Tag (Character name) is from an XML file, utilizing “Proxy” pattern on PureMVC Framework.




http://digitalmonkstudio.com/lab/as2/puremvc/RandomizedImage/MinimalPureMVC_AS2.zip
4  Announcements and General Discussion / Getting Started / Re: Making a Flash Game using PureMVC on: June 13, 2008, 11:06:13
Very informative/educational indeed. Thank you Cliff.
5  Announcements and General Discussion / Getting Started / Re: Newbie : AS2 implementation trouble on: June 10, 2008, 05:16:18
Thank you sir  ;D It's working now. Chandima helped me :), although i think Balloonatroid isn't updated sir.
6  Announcements and General Discussion / Getting Started / Re: Newbie : AS2 implementation trouble on: June 10, 2008, 01:36:48
  I just downloaded Baloonatroid and found out i should invoke sendNotification instead of notifyObservers( new Notification( STARTUP, app ) );

 However, im having an error at this line registerCommand( STARTUP, new StartupCommand()); // Type mismatch.
7  Announcements and General Discussion / Getting Started / Newbie : AS2 implementation trouble on: June 10, 2008, 12:34:36
Hi,

  I'm trying to use AS3 examples around as a guide for a AS2 implementation (for another application). But I'm having some problems:

:
import org.puremvc.as2.patterns.facade.Facade;
import org.puremvc.as2.interfaces.IFacade;
import org.puremvc.as2.patterns.observer.Notification;
import CamScript;

class  CamScript.ApplicationFacade {

// Notification name constants
public static var STARTUP:String           = "startup";
private static var instance;

/**
* Singleton ApplicationFacade factory method
*/
public static function getInstance():ApplicationFacade
{
if ( instance == null ) instance = new ApplicationFacade();
return ApplicationFacade(instance);
}


public function startup( app:CamScript ) : Void
{
notifyObservers( new Notification( STARTUP, app ) );
}

/**
* Register Commands with the Controller
*/
function initializeController():Void
{
super.initializeController();

// registerCommand( STARTUP, StartupCommand );
}



}

some Question(s):

1. return ApplicationFacade(instance); // Did i type cast this correct?
2. There is no method with the name 'notifyObservers'.


8  PureMVC Manifold / Standard Version / Re: Unit Tests now available on The Manifold on: June 09, 2008, 08:33:01
Hi,

  May I request for username/password for the repository sir :)

Thank you.
Pages: [1]