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 9030929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:36:37+00:00 2026-06-16T07:36:37+00:00

I have two swfs, that works perfect separately, but when i try to load

  • 0

I have two swfs, that works perfect separately, but when i try to load one to other, it shows me “Cannot access a property or method of a null object reference at Creator$iinit”.

First SWF is login screen, second is register screen. I load them in this way:

var requestA:URLRequest = new URLRequest("Creator.swf");
var loader:Loader = new Loader();
loader.load(requestA);
addChild(loader);

I have no idea whats wrong. Please, help.

  • 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-06-16T07:36:38+00:00Added an answer on June 16, 2026 at 7:36 am

    Most likely you’re trying to access something that is not available immediately on load and init – you’ll need to add some code in the Creator.swf like:

    // Somewhere in the first lines of code 
    addEventListener(Event.ADDED_TO_STAGE, this.ready);
    
    function ready(e:Event) {
        removeEventListener(Event.ADDED_TO_STAGE, this.ready);
    
        // ** Do other initialization stuff here
    
    }
    

    What’s happening is that you’re trying to access the stage or objects before things are ready to accept them.

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

Sidebar

Related Questions

I have two swfs: application swf p2p client swf that allows to load data
When using LocalConnection that have two SWFs talking back and forth to each other.
I have two SWFs, one is a 960x30px, the other is a 960x300px. I
Have two sets of data (two tables) for patient records, one 1999-2003, the other
Have two issues one is showFromToolbar statement format warning issue and another is that
I have two mysql tables. One is a bad words list, the other is
I have two swf's. One show of some sort, and one menu that acts
Have two scripts that give very different results. First using csv.reader and it works
I have two simple views, one with a button that creates a view and
I have two applications, one is the main site and the other one is

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.