Questions tagged [mxmlc]

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

206 questions
1
vote
1 answer

I can't get MXMLC to work on Ubuntu

Okay, I downloaded the Flex 4 SDK from Adobe and extracted the contents to ~/Documents/flex4_sdk. Now I have the following simple MXML file:
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
1
vote
0 answers

How to compile multiple css files into individual swfs using pure Maven?

Right now I am using an apply task inside of an antrun execution. maven-antrun-plugin 1.4 compile-default-theme-css
Gabriel
  • 1,679
  • 3
  • 16
  • 37
1
vote
3 answers

Ant MXMLC task with arbitrary list of source/lib paths?

Does anyone know of a way to use the mxmlc Flex Ant task with a user-defined list of source or library paths? The user should be able to define an arbitrary list of source and/or library (.swc) paths in an Ant properties file and the build file can…
BadmintonCat
  • 9,416
  • 14
  • 78
  • 129
1
vote
1 answer

Compiling CSS to SWF server side Java, What is the best practice?

My project allows users to create custom css for our flex app. In regards to compiling the CSS into SWFs on the server side: Should I use the flex2.compiler.css.Compiler class in mxmlc-3.5.0.12683.jar? Or Should I invoke mxmlc from…
Gabriel
  • 1,679
  • 3
  • 16
  • 37
1
vote
1 answer

flexClient_.cache (no such file or directory)

We have a linux machine (Red Hat) to compile our flex (3.0) application. It's an ant task (which is called by maven-antrun-plugin). We decided to change our build machine (same Red Hat). So i copy/paste the FLEX_HOME repertory on the new machine…
eclips
  • 15
  • 5
1
vote
1 answer

Using mxmlc to compile as files with more than one src paths

I am using mxmlc.exe to compile my Flash project but I have two separated source files. I noticed that I can specify more than one -compiler.library-path but it seems not OK to specify more than one -compiler.source-path parameters. For some reasons…
AGamePlayer
  • 7,404
  • 19
  • 62
  • 119
1
vote
0 answers

Compiling MXML files into multiple SWF files using mxmlc compiler

I have a few mxml files that I want compiled into their respective SWF files using a configuration file. At the moment I can get 1 mxml file compiled into it's respective SWF file by using the file-spec attribute in the configuration file but how…
Draco
  • 16,156
  • 23
  • 77
  • 92
1
vote
1 answer

Can't embed image in as3 file while build with ant under linux(debian)

I embedded a png in as3, it's all fine on windows, either use FB4.6 or Ant. But while build with Ant under linux(debian), I got this Error. Image path is /var/lib/jenkins/workspace/q5/dev_Flash/code/Copper/src/assets/c001_up.png. Project name is…
marz
  • 11
  • 3
1
vote
1 answer

actionscript-3 papervision3d mxmlc embedded collada model not showing

I am writing some code based on the following tutorial: http://active.tutsplus.com/tutorials/3d/quick-tip-displaying-a-3d-model-with-papervision3d/ I copied the code from the example and added paths to my own…
1
vote
2 answers

mxmlc (flex compiler) ignores "define" from xml configs

From Adobe's documentation: To set the value of these constants in the flex-config.xml file, rather than on the command line, you write this as the following example shows:
average dev
  • 1,128
  • 7
  • 22
1
vote
3 answers

Sharing code between swfs

Lets say I have two swfs A and B, and at runtime, swf A loads swf B, and I wish to share code between them, to minimize file size and download times. If swf B has some code (say. com.blah.HelloWorld), I tell the compiler to have swf B's source in…
whoisbenli
  • 1,095
  • 1
  • 9
  • 12
1
vote
1 answer

as3 conditional compiling with flascc

I had as3 project with custom flex-config.xml and conditional compiling directives for mxmlc like this: CONFIG::DEBUG true CONFIG::RELEASE
1
vote
0 answers

How to directly embed an flv in actionscript so ffmpeg can convert from the compiled swf?

I have an flv that needs to be embedded into a swf. I am currently using the Embed tag and playing the flv with NetStream. The problem is that it does not seem to be directly embedding the flv file, as ffmpeg does not detect it. I am currently using…
1
vote
1 answer

Access stage from the "main" class

I have the following ActionScript: package { import flash.display.Sprite; public class Application extends Sprite { public function Application(){ width=1000; height=500; } } } Which I compile…
Austin Hyde
  • 26,347
  • 28
  • 96
  • 129
1
vote
1 answer

How to use Flash Builder to debug swf which is generated by command line mxmlc

I use command line to make swf from flex project. mxmlc -debug=true src\Main.mxml -output bin-debug\Main.swf I can use fdb to debug the generated Main.swf, but how to use Flash Builder to debug it? The reason I donot use Flash Builder to build swf…
NeilJiang
  • 223
  • 1
  • 3
  • 10