Hi Tracy, thanks:) Yes, I mean the capital "M" but my reasons are, 
well, one reason: the ability for the client to download only the 
packets (generically meant) of data and compiled swfs when requested. 
The Module does the second part, i.e., through a user event it's 
loaded. I think, on my first read, what you are calling a module, is 
what I'm calling a component, but what probably means an AS file, a 
component, an XML file, i.e., all the little things that 
compartmentalize an app efficiently and logically, and hopefully, by 
the sound of it, in a manner that is reuable even potentially in 
totally unrelated projects. 

Now that was all obviously just an aside, but it explains my plan and 
any possible shortcomings. I am not too concerned at this stage 
how 'advanced' you can get with Flex "M"odules, what matters to me is 
the users' experience afforded by them loading bits at a time - short 
waits and visual confirmation that something is happening through 
accurate progressbars and the like. Preloading behind the scenes is 
also something I need to study. There are probably many other uses 
for "M"odules, and probably many applications for which it would be 
the wrong approach.

I have the rest of what you wrote in a Word Doc at work, I'll add 
your comments to it below and print for the weekend. I find it 
impossible to study during the week after work. I'll have your way 
for the tree implemented, or attempt to, this weekend, as one thing I 
see immediately in the ability to access array items is that it's 
gonna be much easier for me to jump across things, load them 
according to a script, for example, if you have a variable available 
to your app as a whole (at least where it's needed) - you can go in 
and check it's value, then load what's appropriate from there. If you 
set the value of myThumbVar (some kind of array object I guess)
to 'thisthumbID', 'thisgalleryID', and 'thisimageID' you could 
probably traverse your tree upon entering the gallery from the main 
page with the proper node of the tree opened, and the proper 
thumbnail gallery loaded and even the right image already 
loading/showing. I think your code will get me into that approach.

I'm sure this is old hat for most of you guys, but it's brand new to 
me:)

I'll hopefully get a feel for what you just wrote in short order too. 
I've never even written a class yet (I still have to fully wrap my 
head around public and private function scopes etc.), so a lot of 
this will take some time. You ask if I'm in a hurry, I'm only in a 
hurry to learn, which is nothing more than a euphemism for 
impatience...

Shawn

Reply via email to