Simple Application Demo

This demo accompanies How to create a new flash application with the ASAPFramework.
Simple Application Demo shows how movies are loaded based on event message calls.

See also ASAP Movie Management for an introduction to multi-movie projects.

The application event flow is as follows:

  1. A button (subclass of EventButton) is clicked.
  2. The button sends a 'clicked' event (an EventButtonEvent).
  3. The nearest LocalController automatically picks up the event, interprets the state, and sends a NavigationEvent.
  4. The listening AppController (itself a LocalController) picks up the NavigationEvent, distills the corresponding movie name, and tells MovieManager to load the movie.
  5. After the movie has been loaded, MovieManager sends a MovieManagerEvent that the movie is done, along with the LocalController that manages the new movie.
  6. The MovieManagerEvent is picked up by AppController, and tells the LocalController to show.

download svn co https://svn.sourceforge.net/svnroot/asapframework/trunk/asapframework/demos/SimpleApplication
book Docs

Online demo

Topic revision: r5 - 07 Oct 2006 - 18:04:14 - ArthurClemens

New site visitors: register here
Registered users may edit pages on this site.
Registration is free!
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding ASAP? Send feedback