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

Pages: [1]
Author Topic: Using a single Mediator with multiple dynamically created views  (Read 8195 times)
Posts: 2

View Profile Email
« on: June 14, 2009, 11:27:51 »

I am creating an application with a controlbar that has an unknown number of controls in it. The basic layout is a simple listing of of numbers, each of which is a button (in this specific case setup as  a view component).  The problem I am running into is that each of these button components will need to be dynamically created, and registered with a single Mediator (as well as the display list) after my proxy has been populated with data. Can anyone provide me with some direction as to where the best place would be to handle the creation of these button components, as well as the best way to link them up to the Mediator and registering them with the facade?


Global Moderator
Hero Member
Posts: 2871

View Profile WWW Email
« Reply #1 on: June 15, 2009, 05:16:24 »

Have a look at the HelloFlash and Slacker demos.

Pages: [1]