Questions tagged [mxmlc]

mxmlc is Adobe's application compiler that compiles SWF files from ActionScript and MXML source files.

206 questions
1
vote
3 answers

embedded resources with incremental build provokes runtime exception with Flex 4.5 and 4.6

When I compile my application with ant and incremental build, the embedded images provoke runtime exceptions. [Embed(source="/assets/logo.png")] [Bindable] public var logo:Class; provokes something…
Yves
  • 172
  • 2
  • 14
1
vote
2 answers

Why does Adobe Flex strip ActionScript from Flash embed symbols when compiling?

I wanted an animation to dispatch custom events as it cycled. It became apparent that not even trace() was running. After some searching, I found the following at Adobe: http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html "If the…
user56512
1
vote
1 answer

Compiling as files with mxmlc

I try to compile my as files with mxmlc and ant. Here is my compile code snipet:
Worker
  • 2,411
  • 6
  • 29
  • 55
1
vote
1 answer

Ant parallel performance

I need to compile many similar SWFs in my project. I have ant build file, where I run mxmlc (flex compiler) tasks. To decrease general build time I want to run the tasks parallel. I have 4 core cpu.
Timofei Davydik
  • 7,244
  • 7
  • 33
  • 59
1
vote
1 answer

Is there a tool to convert .actionScriptProperties to flex-config.xml?

I'm looking for a tool that could convert Flex settings set inside Flash Builder, stored in .actionScriptProperties and .flexProperties, to a flex-config.xml-like file that could be used as an input to Flex compilers and tools (mxmlc, compc and…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
1
vote
2 answers

Compile an ActionScript class that is in a package to a swf using Flex Builder 3

How do I configure an ActionScript Project in Flex Builder 3 Pro so that I can compile an ActionScript class that is part of a package into a swf. For example, the class that I want to compile to swf is: package utils { import…
user56512
1
vote
1 answer

Adobe record sound and save

In the following code i am trying to save the microphone contents to a file.The saved file doesn't play and Every time the file is saved i see that the size is only of 10 bytes only.What am i doing wrong in the code.Can someone please show me the…
Rajeev
  • 44,985
  • 76
  • 186
  • 285
0
votes
2 answers

How do I compile multple independent mxml files at one time?

Our application has over 15 different top-level mxml files to create individual controls that are used in our pages. We are using Ant to do our automated builds, and are calling the mxmlc task for each mxml file separately (See question 78230…
Nathan Voxland
  • 15,453
  • 2
  • 48
  • 64
0
votes
0 answers

SWC compilation much slower than SWF

We're converting quite a large Flex project from a monolithic web application project type to multiple projects where most of the existing files (~2000) will newly live under a Library project and there will be multiple runnable projects beside it…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
0
votes
2 answers

MXMLC compiling multiple SWFS with SWC dependancies

So I have a project comprised of multiple modules and I'm trying to work out the best way to compile, with minimal code duplication. I have a core Framework SWF and a number of sub applications which are independent of core. In addition I have a…
serenskye
  • 3,467
  • 5
  • 35
  • 51
0
votes
1 answer

Flash Builder -- Is it possible to view verbose build logging?

Is it possible to enable verbose build logging in Flash Builder? Ideally, I want to be able to see the exact arguments that are being passed to the mxmlc.exe compiler. Context: I'm currently trying to automate our build process using GradleFx so…
Mark Simpson
  • 23,245
  • 2
  • 44
  • 44
0
votes
2 answers

Why does Java to throw IllegalAccessError when invoking mxmlc?

I invoke the Flex mxmlc compiler from a Java application. After adding the Xerces parser to the project classpath I get the error below. java.lang.IllegalAccessError: class org.apache.xerces.util.XMLAttributesMMImpl$AttributeMMImpl cannot access…
Mat Gessel
  • 562
  • 8
  • 17
0
votes
0 answers

Ant build mxmlc takes more memory and time

I am using ant build for build my flex application. In the same time I have to compile java, flex and create war file, for that I think is the good choice. Here is my build.xml snip
arulraj.net
  • 4,579
  • 3
  • 36
  • 37
0
votes
1 answer

MXMLC ANT for building AIR application

I'm used a script ANT, with MXMLC task to build my AIR application. The generation is oK (.swf is generated). But the xxx-app.xml is not generated too ?
Anthony
  • 325
  • 2
  • 5
  • 15
0
votes
1 answer

mxmlc compiler - source-path preferred over library-path

Short story The same class is passed to the mxmlc compiler in SWF library as a symbol linkage class and again in a source-path. But the compiler uses the definition from the source-path so creating new instance of that class won't create new…
daniel.sedlacek
  • 8,129
  • 9
  • 46
  • 77