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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:49:19+00:00 2026-05-13T13:49:19+00:00

When I attempt to create a new flash list component from my as3 file

  • 0

When I attempt to create a new flash list component from my as3 file (FrontEnd.as) and add it to the stage, I get the following error: “1046: Type was not found or was not a compile-time constant: List”. Below is the code:

package {

import flash.display.MovieClip;
import fl.controls.List;

public class FrontEnd extends MovieClip {

    public function FrontEnd():void {
        trace("FrontEnd Here");
        init();
    }

    private function init() {
        var userSelect:List = new List();
        addChild(userSelect);
        userSelect.move(200, 100);
        userSelect.width = 120;
    }
}

}

Someone commented on a livedocs page that you have to drag the component to the .fla library and cannot create it solely from as3. Is this really true? Hoping someone can set me straight, 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-05-13T13:49:19+00:00Added an answer on May 13, 2026 at 1:49 pm

    That is true,
    Think of the UI Components in Flash as made of 2 parts:

    1. The classes that manage the components
    2. The visual assets of the components.

    When you import the classes from actionscript alone, they will be missing
    the visual elements that go hand in hand with that, so just drag the List
    component to the Library and you should be fine.

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

Sidebar

Related Questions

When I attempt to create a new adv, I get the following error message:
I'm receiving this error when I attempt to create a new account on my
I have just installed Visual Studio 2010. when I attempt to create a new
I have to create new Report from existing report in SQL Server Reporting service,
I'm after a simple stored procedure to drop tables. Here's my first attempt: CREATE
Continuing on my attempt to create a DateTime class , I am trying to
I found only one attempt to create such compiler - http://sourceforge.net/projects/xsltc/ . But this
I've decided to take the advice in this question: create-excel-chart-programmatically-in-php and NOT attempt to
The following code snippet attempts to create a Tib DaemonManager connecting to a particular
I've created the following regex pattern in an attempt to match a string 6

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.