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

Strange issue when adding a folder to my libs

Guest
Feb 19, 2013 Feb 19, 2013

Hi guys

I have my classes in a libs folder, and in Actionscript Settings / Source I point to that folder.  It works fine.

I just attempted to add the AlivePDF source files (using source instead of swc as I want to alter something) in their org folder to the libs folder, and now one of my other classes throws this error:

5001: The name of package 'doit.ui.controls.doitClass' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file.

doitClass was working fine before.

Any idea why adding an exclusive folder would affect other classes?

Cheers

TOPICS
ActionScript
497
Translate
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
LEGEND ,
Feb 19, 2013 Feb 19, 2013

The best advice anyone can probably give at this point is for you to address the problem defined by the error and see if the package name defined in the file matches the path you have placed it in.

Translate
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
Guest
Feb 19, 2013 Feb 19, 2013

It seems to match. It's bizarre, as it works fine until I drop in the new folder.

Thanks Ned - it's a head scratcher.

Translate
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
LEGEND ,
Feb 19, 2013 Feb 19, 2013

If you dropped it into a new folder then you might need to adjust the package definition line in the as file.

Translate
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
Guest
Feb 19, 2013 Feb 19, 2013
LATEST

The class that's not working wasn't moved - it's another set of classes in a folder that I dropped into my libs that are causing the first class to not work.

Thanks Ned - I'll work around it another way.

Translate
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