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

  • Home
  • SEARCH
  • 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 7411423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:23:03+00:00 2026-05-29T06:23:03+00:00

I have a TabNavigator with NavigatorContent’s in MXML. Inside the first NavigatorContent I have

  • 0

I have a TabNavigator with NavigatorContent’s in MXML. Inside the first NavigatorContent I have a Group with an id="canvas"; I load a SWFLoader here. Inside the next NavigatorContent I have another Group with the id="sheetcanvas"; I want to load a SWFLoader here. The problem is that when I do that I get error #1009 null reference on the sheetcanvas id.

If I take that same group and put it anywhere else it works with no null reference!

The same error occurs when loading dynamically to a second group that exists in a second NavigatorContent of an Accordion, also. Am I doing something wrong or is there a bug?

<mx:TabNavigator id="tabs" width="650" height="100%">
        <s:NavigatorContent width="100%" height="100%" label="Tab 1">
            <mx:DividedBox top="3" bottom="3" right="3" left="3" direction="vertical" width="100%" height="100%">

                <s:BorderContainer x="28" y="10" width="100%" height="100%">
                    <s:TextArea y="6" width="120" height="24" borderVisible="false"
                                text="{selectedNode.@label}"/>
                    <s:CheckBox y="6" right="10" label="Show Grid" selected="true"/>
                    <s:Scroller x="8" y="30" width="99%" height="90%" horizontalCenter="0">
                        <s:Group>
                            <s:Group id="canvas"/>

                        </s:Group>
                    </s:Scroller>
                </s:BorderContainer>
                <flexmd:FileEditor id="edit" width="100%" height="100%"
                                   enablePrint="true" enableSyntaxColoring="true" savePhp="/FileEditor/php/save.php"
                                   staticDemo="false"
                                   chromeColor="0xDCDCDC"
                                   />

            </mx:DividedBox>    
        </s:NavigatorContent>
        <s:NavigatorContent width="100%" height="100%" label="Tab 2">
            <mx:DividedBox top="3" bottom="3" right="3" left="3" direction="vertical" width="100%" height="100%">
                <s:BorderContainer x="28" y="10" width="100%" height="325">
                    <s:Scroller x="8" y="30" width="99%" height="100%" horizontalCenter="0">
                        <s:Group>
                            <s:Group id="scanvas"/>
                        </s:Group>
                    </s:Scroller>
                </s:BorderContainer>
            </mx:DividedBox>    
        </s:NavigatorContent>   
    </mx:TabNavigator>
  • 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-29T06:23:04+00:00Added an answer on May 29, 2026 at 6:23 am

    It’s not a bug. Some containers (like TabNavigator or ViewStack) don’t initialize their child-elements until they are shown. If you need to have access to (hidden) child-elements right from the start, set the creationPolicy property to all.

    Eg. <mx:TabNavigator id="tabs" width="650" height="100%" creationPolicy="all">

    Here’s some more information about creationPolicy.

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

Sidebar

Related Questions

I created a TabNavigator with a bunch of NavigatorContent inside it, and want to
In my MXML file, I have a tab navigator with three vboxes. <mx:TabNavigator width=624
I have some Data Xml.. <main> <TabNavigator x=27 y=11 width=455 height=376 id=gh backgroundColor=#A4B6E9> <NavigatorContent
I have 2 VBox inside a tabNavigator. The code snippet of VBox I am
have a problem. At first look at this HTML <div id=map style=background-image: url(map.png); width:
Have an issue with marshall and unmarshall readers and writers. So here it is.
I have a flex application in which I have a TabNavigator with multiple tabs
I have a component mxml in which i have a save button, on click
Ok I have a TabNavigator component that keeps added a hash (#) to the
i have a component with different states, when i assign some value in another

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.