Questions tagged [mxmlc]

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

206 questions
29
votes
2 answers

MXMLC and 64bit JRE

Are there any workarounds to get the Flex compiler to work with a 64bit JRE? If I use an MXMLC task in an Ant buildfile in Eclipse it works fine but if I try to use MXMLC from the command line (or try the Run... command from FDT in Eclipse) it…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
21
votes
1 answer

MXMLC in Flex SDK 4.5 doesn't work on Mac OS 10.8

Starting mxmlc on the latest mac exits with error message: Error: This Java instance does not support a 32-bit JVM. Please install the desired version. How to fix?
18
votes
5 answers

compiling actionscript from command line using MXMLC

I have a tiny actionscript "project" consisting of two files, call them foo.as and bar.as. For reasons I won't go into, I really really want to build the .SWF from the command line, without setting up a formal project of any kind. Every compiler…
I. J. Kennedy
  • 24,725
  • 16
  • 62
  • 87
10
votes
5 answers

How to suppress Flash migration warnings (1090)

In Flash Professional CS4, I get "migration issue" warnings when I use mouse/keyboard input handler names such as onMouseDown, onKeyUp, etc., even though I have added event listeners for them. These names are perfectly legal for functions, but since…
aaaidan
  • 7,093
  • 8
  • 66
  • 102
9
votes
2 answers

How do I get FlashBuilder to show me the command-line output?

Specifically, I want to know what the commands are... all the flags it produces and passes to mxmlc. There must be a way, but I just can't figure it out.
Brian Genisio
  • 47,787
  • 16
  • 124
  • 167
8
votes
3 answers

Extending Array in Actionscript 3 (Flex)

I'm trying to make a variation on Array for a very specific purpose. When I have the following: public class TileArray extends Array { // Intentionally empty - I get the error regardless } Why can't I do this? var tl:TileArray =…
Jamie Wong
  • 18,104
  • 8
  • 63
  • 81
8
votes
5 answers

MXMLC Ant task results in java.lang.OutOFMemoryError

I'm making a change to a set of code for a Flex project that I didn't write and was set up to compile using ant tasks. I assume that the codebase was stable at the last checkin but I'm running into memory issues when trying to build a project using…
Mims H. Wright
  • 3,049
  • 1
  • 25
  • 30
7
votes
2 answers

How to create a variable in flex-config xml file usable inside of it?

We can auto-generate flex-confix xml file from flash-builder so that users who want to compile project on their own would be capable of doing such thing without buying FB. So we use something like -dump-config slotConfig.xml as flex compiler…
Rella
  • 65,003
  • 109
  • 363
  • 636
7
votes
0 answers

Video is corrupting when compiled with mxmlc but not Flash IDE

I have movie clips containing FLV video sequences. When this FLV plays in a SWF compiled from mxmlc, the video is completely corrupted - all different coloured blocks. If I compile from the IDE the video plays fine. It's a bit more involved than…
tarling
  • 1,887
  • 2
  • 19
  • 27
6
votes
2 answers

mxmlc embedding assets

I'm trying complie my project via mxmlc this way: [prj_folder]\src>mxmlc mymxml.mxml -library-path+=../libs -sp+=..\assets and i get such errors: [prj_folder]\src\view\controls\controlname.mxml(7): Error: Problem finding external st ylesheet:…
2xMax
  • 1,639
  • 6
  • 21
  • 41
6
votes
1 answer

Does ASC 2.0 recognize [Frame] metadata tags (ex: for Preloader factoryClass)?

I'm trying to use the new ASC2.0 compiler in the AIR SDK 3.7, but I seem to be running into a problem where it cannot detect my preloader class. If I use the non-ASC2.0 compiler, it recognizes and compiles the Preloader class declared in the Frame…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
5
votes
2 answers

Strange issue building Flex (fails with unrelated errors on correct code)

Note: I have edited this question multiple times and reformatted it to better illistrate the question. Problem I am having a problem with my build. When I add a valid statement to the code it will no longer complie and it fails with errors from an…
sixtyfootersdude
  • 25,859
  • 43
  • 145
  • 213
5
votes
1 answer

mxmlc and framework linkage - how to specify linkage as rsl

I'm trying to build my flex 4 project using ant. In Flash Builder 4, in project properties it's possible to set the "Framework linkage" to one of "Merged into code", "Runtime Shared Library (RSL)" or "Use SDK Default (Runtime Shared library)". How…
cybertoast
  • 1,343
  • 13
  • 19
5
votes
6 answers

Flex Compilier says source-path and package definition mismatch

Here's the issue: I have three files in the same package: com.foobar The directory to these files is: C:..\mylibrary\src\com\foobar\ then inside I have foo.as and bar.as When I try to run mxmlc C:..\mylibrary\src\com\foobar\foo.as I get the error: A…
John D.
  • 2,521
  • 3
  • 24
  • 45
5
votes
4 answers

How do I make my Ant Generated swf as small as possible?

I have a flex project and if I build a release version of the application using flash builder with RSLs on my swf is 115k. If however I build the same application using ant the swf is 342k. Without RSLs the swf is 520k. How do I get the swf to be as…
Roaders
  • 4,373
  • 8
  • 50
  • 71
1
2 3
13 14