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

The Archive Base Latest Questions

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

i have a class Team.as that imports another class CustomMenu.as . This works fine,

  • 0

i have a class Team.as that imports another class CustomMenu.as. This works fine, when i launch Team.fla, the content of CustomMenu appears well.

But, in my project, Main.as imports Team.swf, and then the content of Team appears on screen EXCEPT the content of CustomMenu.as.

So, i added a ADDED_TO_STAGE to the three of them, by example :

    public function Team() {
        addEventListener(Event.ADDED_TO_STAGE, initStage);
    }

    public function initStage(e:Event){

But CustomMenu never appears in the loader. It’s not a problem with the size of the container, or anything like that, because i tried to put a black rectangle in the loaded swf and it works. Do you have any solution?

Thanks a lot

  • 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-26T01:55:06+00:00Added an answer on May 26, 2026 at 1:55 am

    Is initStage(e:Event) called when you addChild(myTeam); in your main project file?

    You can just write some public init() method in Team class. Then cast your loaded content in main file to Team(loadedSWF), then call Team(loadedSWF).init() when you make sure it’s already on the stage.

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

Sidebar

Related Questions

I have a class Team that holds a generic list: [DataContract(Name = TeamDTO, IsReference
I have created an interface that my DbContext class implements, this enables me to
I have a class team that contains information for football teams. I need to
I've got code that I am using from another team and I have spent
I've joined a team that works on a product. This product has been around
I have a one way @OneToMany relationship between a Team and Player class. I
hi i have to following model class Match(models.Model): Team_one = models.ForeignKey('Team', related_name='Team_one') Team_two =
I have class that represents users. Users are divided into two groups with different
I'm building an Asp.net MVC 2 application. I have an entity called Team that
I have 2 models: class Team(models.Model): Team model for creating a basic team. image

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.