-
Notifications
You must be signed in to change notification settings - Fork 6
Home
cliffhall edited this page Sep 23, 2012
·
12 revisions
PureMVC ActionScript 3 Demo: HelloFlash (Flash)
This demo illustrates the use of the PureMVC framework within a Flash application. A lonlely little blue box appears, moving in a grey room. Interact with it.
Production - Version 1.1
- Starting the application via the !ApplicationFacade on a 1-Frame Flash Movie
- Sending a Notification to trigger a Startup Command
- Initilializing the Model and View from a Command
- Dynamically created View Components and Mediators with unique instance names
- View components communicating with their Mediators
- Mediators communicating with a Proxy
- Use of a Proxy to hold Model data
- Mediators communicating with other Mediators via Notification
A lonlely little blue box appears, moving in a grey room. Interact with it.
- When it hits a wall it changes direction and shrinks.
- If you grab it and drag it around, diffrently colored boxes trail out going the opposite of the direction you drag.
- The colors are from a short palette of about 5 colors and they cycle.
- If you roll your mouse-wheel all the boxes scale up or down in size depending on the direction you scroll it. (Mac users use the two-finger downswipe to scale up and two-finger upswipe to scale down)
- When the boxes are all tiny, its hard to grab them, so you might scale them all up.
- Catch one and hold on to it. Allow the others to decay in size a bit by bouncing off the walls. Then drag around to emit some, let them decay, etc.
- Scale them up until they all look like a jigging mass of Jellotm. Then scroll farther, most wrap around and become small, but some stay large. Let them decay.