ActionScript 3 and camelcase package name
- by Paul Dinh
I'm using Flash Builder 4 to build my AIR application.
For a certain reason, I need to declare my package name in camelcase, and class names in lowercase:
//test.as
package Core {
public class test {
}
}
The folder structure is like this (the dir 'Core' matches the package name):
src/
Core/
test.as
However, Flash Builder shows error and it doesn't compile at all, only when I put the package name as 'core' then it compiles.
Does AS3 syntax allow uppercase letters in package name? Or just because Flash Builder implicitly disallows this?