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 / Architecture / Where does asset loading go and how does view component knows about loaded file? on: August 04, 2008, 01:04:22
Hi all,

first of all, thanks for the framework. I started working with PureMVC (AS3) a couple of weeks ago and I really like it.

Working on a Flash project I got into some trouble handling assets. Basically I don't really know where the different parts have to go to.

My app should to the following:

1) Loading XML/CSS
2) Startup
3) Navigation mediator is created (buttons will load different pages)
4) Click on button will create new page mediator
5) The page view component needs to load different images/swfs to be displayed
6) some more images will have to be loaded into a nested view component just after user interaction

1 - 4 is working fine. Now I'm stuck. Do I have to create a AssetProxy, dispatching events from the view components to request specific images/swfs? How does the view component finally gets to know when the image is loaded?

I also read the Thread about the StartupManager but somehow I didn't get it how to use this as a AssetLoader :(

Thanks in advance.
ck
Pages: [1]