Questions tagged [mxmlc]

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

206 questions
0
votes
0 answers

Flex compiler breaking when I use -raw-metadata parameter

So I have this shell script that compiles my AS3 classes to the SWF format. Today I wanted to add a fancy timestamp to the "date" parameter on the metadata list. I'm trying to use the compiler option -raw-metadata but everytime I try to compile it…
user339827
0
votes
0 answers

JSON error when compiling Flex file with MXMLC

tI have a file create with Flash Builder and the Flex 4.1 SDK which compiles fine in Flash Builder 4.5.1 but fails to compile with the command-line MXMLC (run via SublimeText 2 build system file). It doesn't like this line: var dataString:String =…
Steve
  • 14,401
  • 35
  • 125
  • 230
0
votes
1 answer

How to automate MXMLC compilation in Mac OS X

I'm currently using Terminal to compile with MXMLC. Each time I want to compile I need to introduce the file name, and the first time I open Terminal I also need to specify the path of the file. I'm sure there is a faster way to do this. I'm…
NPN328
  • 1,863
  • 3
  • 27
  • 47
0
votes
1 answer

How to compile a flex file only used for LocalConnection + JS-API

I have a flex application only used as API of LocalConnection for JavaScript. It's working well but the generated SWF file is really big: static-link-runtime-shared-libraries=false ~43k static-link-runtime-shared-libraries=true ~260k Both are…
mabe.berlin
  • 1,043
  • 7
  • 22
0
votes
1 answer

MXMLC Incremental compilation not working

Google shows a couple of hits for this issue, but never a solution that I can find. It's always just a few other people saying "it works for me", and the issue dries up. I've tested both with the "-incremental=true" flag to mxmlc and with the…
roguenet
  • 1,273
  • 1
  • 11
  • 18
0
votes
0 answers

Error: only one source is allowed in the filespec - Related SO answer does not work

I'm getting the following error, which works fine in Flash Builder 4.5 but does not work with Flex SDK C:\FlexSDK\bin>mxmlc -static-link-runtime-shared-libraries=false -use-network=fa lse "C:\workspace\gui\Mill_UI.mxml" -output…
CharlesBryan
  • 181
  • 1
  • 16
0
votes
2 answers

Actionscript include and use external AS package

I have this flex project.And the below mentioned is my directory structure (List1).Now if i want to use an external package which has the following directory structure as mentioned in List2 Where should i include it and how am i suppose to use it in…
Rajeev
  • 44,985
  • 76
  • 186
  • 285
0
votes
1 answer

AS3 audiioencoder to convert to audio

In action script how to convert using audio encoder a recorded byte array from microphone to MP3 public var recordedData:ByteArray; recordedData.writeBytes(sample.data, 0, sample.data.bytesAvailable); How to save recordedData to…
Rajeev
  • 44,985
  • 76
  • 186
  • 285
0
votes
1 answer

Build swf using mxmlc (Ant) - Code compiles when code not changed

I am using mxmlc task to generate swf for our project. Problem is, even when I dont change any flex code, swf compiles every time, which is comparatively lengthy process. Does anyone know how to avoid it? Is there any solution to this? Thanks in…
Tyr1on
  • 1,999
  • 2
  • 13
  • 20
0
votes
1 answer

Compiling actionscript via actionscript

I'm in the process of creating a tool which needs to be able to compile a swf file. The interface preferably has to be flash/air. I have a rough idea about how it could be done but there is some holes... My thoughts go something like this: Write a…
springbo
  • 1,096
  • 1
  • 9
  • 15
-1
votes
2 answers

Few basic questions on flex/AS

Guys i have struggling with flex since a day or two.I havent found a nice short tutorials.Actually i also have been struggling with FLEX IDE too.Please indicate a nice good tutorials for this I basically have questions like Cannot use Alert in…
Rajeev
  • 44,985
  • 76
  • 186
  • 285
1 2 3
13
14