GradleFX for non flex project
I have a "pure actionscript" project, without flex. When I try to compile the project, I get:
The file Main.mxml couldn't be found in directories [src/main/actionscript]
There are mentions about two different compilers in the documentation, compc and flexc, but I can't seem to figure out how to switch to compc.
Ideas?
Thanks!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by Yennick Trevels on 27 Feb, 2012 01:42 PM
I guess you're using type = "swf", which by convention requires a main class with name "Main.mxml" in the source directory, you can change this convention value by overriding the mainClass property, like this:
mainClass = 'Main.as';
2 Posted by Viktor Nordling on 27 Feb, 2012 01:50 PM
Thanks for quick reply, that worked!
Yennick Trevels closed this discussion on 27 Feb, 2012 01:52 PM.