[mtasc] Beta 6: Duplicate main entry point...
Steve Webster
steve.webster at featurecreep.com
Mon Dec 13 13:36:10 CET 2004
Hi Nicolas,
Sorry for the lack of reports from me of late. As usual we've been
working to some really tight client deadlines who all want their sites
before the holidays ;o)
Anyway, running my very simple test application through mtasc is giving
me the following error:
> Duplicate main entry point
This is after all the classes have been typed and parsed. The test
class I'm using looks like this...
> import mx.controls.Alert;
>
> class Test {
>
> private function Test() {
> Alert.show("Test", "Test title", Alert.OK);
> }
>
> private static function run(Void):Boolean {
> var _app = new Test();
> return true;
> }
>
> private static var _running:Boolean = Test.run();
> }
...and the .swf just has the MM Alert component in the library, with no
code anywhere.
Any ideas?
Cheers,
Steve
--
Steve Webster
Interactive Developer
Featurecreep Ltd
www.featurecreep.com
T: +44 (0)117 905 5047
More information about the mtasc
mailing list