Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
If you dropped it into a new folder then you might need to adjust the package definition line in the as file.
Copy link to clipboard
Copied
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now