• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash not recognizing a class.

New Here ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

Hi guys, I'm having some trouble with my app, I'm using Away3D and I just got a brand new error, even though the class has this:

import flash.display.Loader;

private var _loader : Loader;

It says that the class has not been imported....

Any help will be appreciated.

Regards!

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

copy and paste the error message after enabling "permit debugging".  indicate the code in the line number mentioned in the error message.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

I'm working with Flash Builder as a AS Project, the problem is inside a class of Awa3D which works perfectly if I just create a simple new project. The error that I get is a 1046: Type not found or was not compilie time constant: Loader

private var _loader : Loader;

I do know what that error means, but I imported the class which makes it really weird and if I change that line of code for this:

private var _loader : flash.display.Loader;

It removes the error symbol from there but not from the entire class, even though there are no more error marks on the class.

Thanks for your answer!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

you're welcome.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

I'm still having problems with that, it doesn't want to work,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

copy and paste the error message after enabling "permit debugging".  indicate the code in the line number mentioned in the error message.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 26, 2012 Jul 26, 2012

Copy link to clipboard

Copied

LATEST

Moving this thread to the Flash Builder forums.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines