mxmlc is Adobe's application compiler that compiles SWF files from ActionScript and MXML source files.
Questions tagged [mxmlc]
206 questions
1
vote
0 answers
What does "compiler.mobile" to mxmlc actually do?
There's an option to the Flex compiler mxmlc that's called "compiler.mobile", which is enabled in the airmobile configuration. It is described in the docs as "Specifies that the target runtime is a mobile device", but I'm wondering what effect it…

Dentoid
- 572
- 3
- 10
1
vote
1 answer
Target flash version with the compiler
When I run mxmlc with the -target-player attribute, it reports, "unknown configuration variable 'target-player'".
How to specify the target player?

Irwin
- 12,551
- 11
- 67
- 97
1
vote
2 answers
Migrating to Flex mxmlc from ActionScript 2 mtasc
Years ago I created a tiny, simple SWF just to play MP3 files on various browsers. I exposed interfaces and called them from JavaScript. It was all small and straightforward; you can see the entire Guise.as source code.
I compiled the main class…

Garret Wilson
- 18,219
- 30
- 144
- 272
1
vote
1 answer
Why MX libraries are in my SWF?
I have a pure AS3 project. I use Ant to build it. Here is a part of my ant script:

Worker
- 2,411
- 6
- 29
- 55
1
vote
1 answer
MXMLC Ant Task : how to use "includes" notion?
I would like to use includes element in my MXMLC ant task. With Ant cmd line it's easy :
But in MXMLC ant task, i can't resolve…

Anthony
- 325
- 2
- 5
- 15
1
vote
1 answer
How to specify linked resource folder in mxmlc compiler arguments?
I've got external folder with resources (graphics, movies, etc) which is shared between a couple of projects. I'm able to link this resource folder in FlashBuilder (as described in…

moropus
- 3,672
- 1
- 22
- 30
1
vote
1 answer
From where may I download the Flash Builder SDK equivalent to Flash Player 11?
I wish to use Stage3D and Context3D in ActionScript. For that I need to download the beta version of Flash Player 11. However, I can't find the equivalent Flash Builder SDK with the mxmlc executable that can compile ActionScript into Flash 11…

Aadit M Shah
- 72,912
- 30
- 168
- 299
1
vote
1 answer
Load swf without instantiating
Is there a way I can load a swf file but not automatically instantiate it's DocumentClass?
Instead I want to do something like the following:
protected function mainLoaded(e:Event = null):void {
trace('mainLoaded');
var main:* =…

Marcel M.
- 2,376
- 2
- 18
- 24
1
vote
1 answer
Why Does The Flex Compiler Get Confused If a Property Name Matches A Class Type?
This is more of a rant than a question; but I am curious to know if anyone has some insight for me. The application I am working on deals with a C# .NET backend; communication is achieved via a socket over which we push AMF objects. The AMF object…

JonnyReeves
- 6,119
- 2
- 26
- 28
1
vote
1 answer
AS3 alternatives to *_exclude.xml files, loading class definitions dynamically
I've been banging my head against a wall for this for almost a couple days now and hoping that someone can point me in the right direction.
Working in a very large Flash application, previously in AS2/CS3 I would have a setup like the…

deadbeef
- 53
- 3
1
vote
2 answers
What tokens are available (by default) for use in the mxmlc config file?
The flex compiler (mxmlc) allows the use of token substitution in the compiler config xml file, as referenced in the documentation.
From the linked documentation it is clear that you can specify your own tokens for substitution on the commandline,…

Russ
- 10,835
- 12
- 42
- 57
1
vote
1 answer
Invalid heap size: where it is taken from?
Executing one of the ant tasks, which launches mxmlc (which in turn uses JVM). I am getting the following output:
build-swf:
[exec] Current OS is Linux
[exec] Executing '/usr/local/flex_sdk_3/bin/mxmlc' with arguments:
[exec]…

BreakPhreak
- 10,940
- 26
- 72
- 108
1
vote
1 answer
Influence compile order of Flex mxmlc compiler
I get this bug when I use constants as default parameters and want to work around it somehow without having to use literals. Annoyingly, they deffered the bug resolution and I could not find a satisfying solution to this. I suspect an incorrect…

Manuel Leuenberger
- 2,327
- 3
- 21
- 27
1
vote
1 answer
How do I catch mxmlc ant task failure
I've tried using the haltonfailure="false" and failureproperty="compile.failed" but ant just throws an error when I try to run it: "The type doesn't support the "haltonfailure" attribute."
I need to do a little cleanup before the build…

Flassari
- 1,149
- 8
- 13
1
vote
2 answers
MXMLC strange error: Error: only one source is allowed in the filespec
I'm trying to compile the simple AIR app from here. I get a strange error, strange in that Googling it hardly reveals three results.
mxmlc -library-path=/Applications/Adobe Flash Builder Burrito/sdks/4.5.0/frameworks/libs/air/airglobal.swc…

Ska
- 6,658
- 14
- 53
- 74