Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 204227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:26:55+00:00 2026-05-11T17:26:55+00:00

I have 2 mxml files, lets say main.mxml and child.mxml. Now lets say I

  • 0

I have 2 mxml files, lets say main.mxml and child.mxml. Now lets say I want to load child.mxml inside main.mxml and pass it a complex object as a parameter. How would I go about doing this in AS3/Flex 3?

I have tried to search for this on Google and SO but either I am not searching with the right keywords or there is no info (unlikely).

Cheers

EDIT: I am not looking for the mxml to be JIT compiled, loading the compiled mxml as swf is fine.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:26:56+00:00Added an answer on May 11, 2026 at 5:26 pm

    You want to do this using Modules. You can keep main.mxml as your root Application but child.mxml needs to be defined a Module component. You can then use ModuleLoader to load the child app. Here’s a good place to get started:

    http://livedocs.adobe.com/flex/3/html/help.html?content=modular_2.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have 2 files: Main.mxml with application and one MyObject.as. I create the instance
I have a datagrid in my mxml file, say, samp.mxml. <mx:DataGrid id=taskDataGrid dataProvider={initDG} variableRowHeight=true
I have several Adobe Flash Builder projects for 4.6. in the main template mxml,
I have two MXML component files and try to work with them as classes.
I have a flex project with two .mxml files. Therefore, there are two .swf
In flex I have a class 'MapDrawingPoint', in one of my mxml files I
I want to draw something on an <mx:Image> I have in my .mxml file,
I have the following problem of how to display another mxml file as main
I have two mxml files in a flex project: But when I trace a.cBtn,
I have actionscript file with a binding {someBinding}... The Main.mxml is where all the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.