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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:59:07+00:00 2026-06-11T16:59:07+00:00

We have a fla, and under Advanced Actionscript Settings, we have Automatically declare stage

  • 0

We have a fla, and under “Advanced Actionscript Settings”, we have

“Automatically declare stage instances”

UNchecked.

We then have a bunch of these declarations at the class level of our document class:

public var spouseCheck:CheckBox;  

If I set spouseCheck.label = “blah” in my constructor, it does not work. However, if I set it later, (when another event happens), it does work. This implies that the checkbox is completely loaded at that time. How can I put an event listener on the checkbox so that I will know when it is completely loaded, and I can set the label? thanks!

  • 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-11T16:59:08+00:00Added an answer on June 11, 2026 at 4:59 pm

    In the constructor of the class where you set spouseCheck.label = "blah", remove that line and add this line:

    spouseCheck.addEventListener(Event.ADDED_TO_STAGE,init);
    

    Then create the init function:

    function init(e:Event):void {
        spouseCheck.label = "blah";
        spouseCheck.removeEventListener(Event.ADDED_TO_STAGE,init);
    }
    

    That event is triggered when spouseCheck is on the displayList (stage) and should ensure it’s ready.

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

Sidebar

Related Questions

I have a fla (using ActionScript 3.0) I am compiling in Flash. I am
I have a .fla that gets opened up, a few actionscript variables (a url,
Have one. Fla (Flash) file that uses ActionScript 1.0. Need to have it in
I have a Flash .fla file that has SimpleButton. That SimpleButton is basically a
I have one particular FLA that is crashing every time I try to compile
Hey all, basically i have an empty AS3 fla file with just the following
I have some FLA/SWF assets which are hierarchies of bitmaps. They have timelines which
I have decompiled an swf file in to .fla file by using a registered
I have a MovieClip symbol created with flash in a fla file library. There
I have a fla I created in CS5.5, and I am trying to use

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.