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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:36:30+00:00 2026-05-25T21:36:30+00:00

I have not used Flash in some time, let alone gotten round to using

  • 0

I have not used Flash in some time, let alone gotten round to using Classes in flash. I need to do some work on a client’s site and I am trying to follow the previous developer’s code which he/she did using classes in AS2.

Am I correct in understanding that these lines of code…

import mx.transitions.*;
import com.app.*;
import com.movie.*;

class com.movie.Main extends MovieClip {
   private var _contentData:Object;
   private var _contentManager:ContentManager;
   public var _language:String;
  1. imports the other classes
  2. extends the abilities of the movie clip called Main and then fires off everything below it.

What I am trying to grasp is what fires off the initial code and it looks like this might be it?

EDIT: It seems that the initial Main.as is fired off just after the preloader on the timeline:

import com.movie.Main;
  • 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-25T21:36:30+00:00Added an answer on May 25, 2026 at 9:36 pm

    In your Main class there should be a line such as:

    public function Main():void
    

    That’s the constructor of the class and where most of the initialization code should be.

    If the Main class is the fla’s document class, the class will be created automatically.

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

Sidebar

Related Questions

You'll have to forgive my ignorance, but I'm not used to using wide character
I have not used generics much and so cannot figure out if it is
I have not used Windows Vista. I knew that many APIs have been changed/deprecated
I have not used jquery much yet and not very familiar with it. Trying
I have not used many lambda expressions before and I ran into a case
I have not used Twitter enough to become familiar with its terminology or the
Disclaimer: I have not used RoR, and I have not generated tests. But, I
I'm working on a security project in Javascript (something I honestly have not used),
In the past, I have not really used namespaces, but in this project I
I've not used C++ very much in the past, and have recently been doing

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.