Skip navigation
sumedh.j
Currently Being Moderated

How to contain a sub-component in the module instead of containing it in the main application

Jan 29, 2013 6:43 AM

Tags: #problem #flash #flash_builder #as3 #4.5 #actionscript #flex4 #flex4.5 #4.6

Hi,

 

I've 3 files

  1. Appln.mxml (application file)  ----  contains main application
  2. component.mxml (component file)  ----  contains component
  3. module.mxml (module file)  -----  contains module

 

Generally the 'component.mxml' file will get loaded into the 'Appln.mxml' file (i.e., 'Appln.mxml' file will contain the custom component files) and whereas module file will get loaded on-demand.

 

So Now instead of containing the data of 'component.mxml' file in the 'Appln.mxml',  I want to contain 'component.mxml' file data in the 'module.mxml' file itself and load the 'component.mxml' when module is loaded on-demand but not when application is loaded. So can any one please suggest me how to do it?

 

Thanks in advance..

 

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points