If you compile a file external-test1.mxml, the compiler happily generates the JS output. But it will throw exceptions due to invalid object names, due to the hyphen (-).
Flex compiler throws this error:
Error: Invalid component name 'external-test1': component name must be legal ActionScript class name.
If you compile a file
external-test1.mxml
, the compiler happily generates the JS output. But it will throw exceptions due to invalid object names, due to the hyphen (-).Flex compiler throws this error: