A: 

For your endpoint value you've got

endpoint="$(Application.application.home}/messagebroker/amf"

Why are you using $( before Application.application... This should be a { as in:

endpoint="{Application.application.home}/messagebroker/amf"
Fergal
doesn't make a difference
Gary
oh, it's a typo, I manually typed it in to stackoverflow, fixed. But I think it's a semantic issue because it compiles fine.
Gary
+1  A: 

The child components are calling creationComplete before the parent (so home is null). A solution is to throw an event (like InitDataCompleted) from the parent after you read the data, and in the child components listen for this event (so don't rely on creationcomplete in the child).

However more important than that is how can you diagnose in future this kind of problems. A simple tool like a proxy (eg Charles) should help.

Cornel Creanga
you are right!!! I just figured this out myself like 5 minutes ago. Thank you.
Gary
so, how do I use mxml declarations that rely on these values being set? A colleague mentioned to use 'show' instead of creationcomplete, but I don't fully understand the timing.
Gary
One of the hardest part when learning Flex is to think asynchronously. In your case your operation (remote calls etc) should be done only when you are sure that the data is read. So the main application should throw an event after reading data and the child should listen for this event. When the event is received in the child it is safe to do your operations. And no, in your case I will not rely on components livecycle (like init and create)
Cornel Creanga
so I would have to declare my remoteobjects in mxml (or AS), and then modify them in actionscript when the event is received, or is there a shortcut within flex already?
Gary
You don't need to modify them, because databinding "{}" will do that automatically. You need to execute the remote call only after you are sure that the initialization was changed.If your application can grow larger I strongly recommend to take a look on some flex framework/patterns. A good framework is http://www.spicefactory.org/parsley/
Cornel Creanga