I realize I still have a lot to learn but I have finally figured out
the core of all my current problems (my pathetic level of programming
skills aside):

***I can't EVER access the IDs of components when that ID is in a
Module and that Module is loaded via ModuleLoader.***

For example, if I have a main app, in it a ModuleLoader and I have a
bunch of Modules, all of which at SOME POINT or another will get
loaded in to the ModuleLoader (right now with Peter Ent's method of
Building Modular Applications as my starting architecture:
http://weblogs.macromedia.com/pent/archives/2007/01/building_module.cfm).

If one of those Modules has a bunch of canvases, and in one canvas is
an Image, which is IDed 'myimage', I can never access it. 

I have a TitleWindow component, and in it is a progressbar, the source
of which is supposed to be myimage, but when I go
Application.application it never shows up in the Content Assist - it
doesn't recognize it. These things always compile fine but give me
runtime errors everytime when I try to force it anyways, i.e., when I
go Application.application.myimage even though myimage doesn't 'want'
to show up and I force it there anyways.

This has stopped all of my attempts to build a Flex app completely
dead in their tracks, I can't do anything without figuring this out,
is what it comes down to.

All of these things work when I go straight from an app to referencing
something directly loaded as a component, but Modules loaded via
LoadModule breaks all my ability to reference IDs.

I've also upped the ante to Moxie, but I don't think anything in that
makes a difference here - the modules are noted properly in the
Properties area.


I would very, very much appreciate some help with this.

Sincerely,
Shawn

Reply via email to