We have several Flash objects included in our project. We call each one a specific type of widget… For readability/debugging purposes I’d like to rename Main.mxml to something else.
At first this seemed easy, as it would be just a setting in our maven configuration (we’re using flex mojos to build our swf).
However; changing the sourceFile from Main.mxml to MyWidget.mxml doesn’t seem to do it.
Any thoughts?
Yes you can change the name, just be sure the HTML wrapper references the correct name.
We are using Flex Mojos and to change the name we just needed to update the sourceFile parameter.