?
Solved

Flex 3 Access Module From Child Component

Posted on 2010-01-07
5
Medium Priority
?
757 Views
Last Modified: 2013-11-11
I have a Module that has a View Stack, the View Stack contains many Child Custom Components.

From within each Custom Component how can I access a public object on the Module?

I would like to use something similar to parentApplication for accessing the Main Application, but for a Module... Such as parentModule or parent...something.

Please help - thx
0
Comment
Question by:AEPUSER
  • 3
  • 2
5 Comments
 
LVL 37

Expert Comment

by:zzynx
ID: 26201548
>> From within each Custom Component how can I access a public object on the Module?
You could pass the (public module) object that you need to access as a parameter in the constructor of the Custom Component


Remark:
Could you please return back to this question more often than you did with your previous two questions?
You get an e-mail each time a comment is posted, don't you?
You don't show much respect for the efforts experts make in trying to provide a solution
if you only come back and/or close a question at the moment you need an answer for another new one.
0
 

Author Comment

by:AEPUSER
ID: 26201567
I understand and I will try to follow up in a more timely fashion...
0
 
LVL 37

Accepted Solution

by:
zzynx earned 2000 total points
ID: 26207908
>> I understand and I will try to follow up in a more timely fashion...
OK. Any remarks/extra questions about my suggestion:
>> You could pass the (public module) object that you need to access as a parameter in the constructor of the Custom Component
0
 

Author Comment

by:AEPUSER
ID: 26285982
I struggled with this... I was moved to a different project for the time being... I will be back on this project later this week. This is another reason my posts have been delayed.... Sorry again
0
 

Author Closing Comment

by:AEPUSER
ID: 31674058
I actually ended up with a large Module that contains many child Modules and I am comunicating from the parentApplication to the large Module and then again down to the child.... thanks for the help
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question