|
List Info
Thread: Re: Pixlib Digest, Vol 25, Issue 7
|
|
| Re: Pixlib Digest, Vol 25, Issue 7 |

|
2007-09-10 06:35:20 |
|
hi Elimak, tnxs for the reply! it was helpful indeed... i just saw that in SiteEngine, you do instantiate the Controller in the _init()
im still in going through the examples, i guess i might have a better understanding after im done with them. I will hold my questions till then.
regards, goliatone
On 9/10/07, Valerie Alloix < valerie.alloix kega.nl">valerie.alloix kega.nl> wrote:
Hey Emi,
First,
Ive to say that im not really advanced, and many people from this list would be
able to tell you better informations and advices.
"In the Index.as of the first step,
at the _init:
var libs:LibStack = new LibStack();
libs.enqueue( new ConfigLoader(),
"config", "config/config.xml");
In this
case you dont enqueue a new GraphicLib Object but a ConfigLoader.
I use
the Index as a generic file for almost all my project. Using a LibSatck as
default allows you to enqueue more files, in case you need it.
i do more or less follow the idea behind, but im not confident about it.
What ive read about LibStacks
tells me that its used to make a queue of GraphicLib objects to laod.
By GraphicLib objects i understand movieclips (that usually end up related to a
view)
ConfirgLoader holds data.
As far as i know, i understand it like you
I know GraphicLib and ConfirgLoader both extend AbstractLib (which implements
ILib) and thus are accepted as parameters by LibStack.
Why do you use a LibStack here instead of loading the config.xml directly with
the ConfigLoader?
To be honnest,
i dont really know, i used a sample that Francis provided me, and i keeped the
same structure … if he is arround, im also curious about his answer ^^
Lets say we had different xml to load and we want to make a queue, we could use
LibStack, yes?
I guess so
As well, could we acces the config xml object with an ILocator implementation? I think, but never did it
A different question i have. Im traying to understand the MVCC workflow in the
example.
the application runs like this:
Index=>Site=>SiteEngine
In site we make the view of the site and load the movies (LibStack)
In SiteEngine we make Movie instances and fire the RUN_SITE event.
Index
setup the stage, root, globals, and preloader
Site
loads the external lib
SiteEngine
links everything together … you instanciate your Controller on this step,
with your Views and your Model + listener … from that Point your event
flow can run properly
ok, here my question, how does the Controller work? where/how do we instantiate
it and where/who do we call it?
ok …
i hope this is a bit helpful … lol, not really indeed … lisssssst …
: )) please help!
Valerie Alloix aka Elimak
KEGA | verne
Wattstraat 3 | 2171 TP Sassenheim
Postbus 94 | 2170 AB Sassenheim
T 0252 22 26 66 | F 0252 22 61 72
valerie.alloix kega.nl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">valerie.alloix kega.nl |
www.kega-verne.nl
a KEGA | group company
hi there,
first of all, tnxs elimak for the tutorial, and tnxs also for offering your
help.
I think is a good and clear example.
Im starting to go through the source.
In the Index.as of the first step, at the _init:
var libs:LibStack = new LibStack();
...
libs.enqueue( new ConfigLoader(),
"config", "config/config.xml");
i do more or less follow the idea behind, but im not confident about it.
What ive read about LibStacks
tells me that its used to make a queue of GraphicLib objects to laod.
By GraphicLib objects i understand movieclips (that usually end up related to a
view)
ConfirgLoader holds data.
I know GraphicLib and ConfirgLoader both extend AbstractLib (which implements
ILib) and thus are accepted as parameters by LibStack.
Why do you use a LibStack here instead of loading the config.xml directly with
the ConfigLoader?
Lets say we had different xml to load and we want to make a queue, we could use
LibStack, yes?
As well, could we acces the config xml object with an ILocator implementation?
A different question i have. Im traying to understand the MVCC workflow in the
example.
the application runs like this:
Index=>Site=>SiteEngine
In site we make the view of the site and load the movies (LibStack)
In SiteEngine we make Movie instances and fire the RUN_SITE event.
ok, here my question, how does the Controller work? where/how do we instantiate
it and where/who do we call it?
regards,
goliatone
Hey ami,
If you have any question about the tuto, just drop a message,
Im not really active, but i check the mailing everyday
elimak
_______________________________________________ Pixlib mailing list osflash.org">Pixlib osflash.org
http://osflash.org/mailman/listinfo/pixlib_osflash.org
-- Emiliano Burgos Flash Designer&Developer burgosemi paginaswebflash.com">burgosemi paginaswebflash.com
www.paginaswebflash.com
|
[1]
|
|