Questions tagged [mxmlc]

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

206 questions
0
votes
2 answers

Flex - Modules does not inherit css styles when built with ant

I'm creating a Flex 4 application which contains different modules in it. The main application contains a style sheet and the modules inherit the styles defined in this file. Its working fine when the swf's are generated using Flash Builder. But…
jobinbasani
  • 2,075
  • 6
  • 47
  • 66
0
votes
2 answers

How can I resolve "Access of undefined property JSON?"

This should be simple, but google has failed me (more likely I didn't ask it nicely). Using FlexBuilder 3, I just added code to do some JSON stuff. When I compile/debug from FlexBuilder everything works wonderful. When I try to compile using MXMLC I…
Paul Stearns
  • 856
  • 9
  • 30
0
votes
2 answers

Compile actionscript using mxmlc compiler

How would you compile actionscript code whose main class is inside a package using mxmlc command line compiler? Consider the following - com.nuaavee::MainClass com.nuaavee.utility::SomeUtility MainClass imports SomeUtility class. Is there a way to…
nuaavee
  • 1,336
  • 2
  • 16
  • 31
0
votes
1 answer

Populating textbox using flex

In the below code.If buttom 'A' is pressed the text box should be populated with A, and if button 'B' is pressed it should be populated with B and so on.. Can this be done.Also if any one could point me to flex examples would be much…
Rajeev
  • 44,985
  • 76
  • 186
  • 285
0
votes
1 answer

swf streaming audio player

i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file. Also this file would be embedded in a html file later on..
Rajeev
  • 44,985
  • 76
  • 186
  • 285
0
votes
1 answer

Hide AS3 deprecation warning on specific line

ActionScript has an attribute that allows marking fields/classes/functions as deprecated: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf680e1-7ffe.html#WS2db454920e96a9e51e63e3d11c0bf69084-7a6c I want to deprecate some…
Paul Gilmore
  • 438
  • 1
  • 5
  • 14
0
votes
1 answer

Java Heap Size amxmlc without ant

Out of the blue my build task for compiling my AIR application has stopped working: /opt/flex-sdk/bin/amxmlc \ -optimize=true \ -define+=CONFIG::DEBUG,false \ -define+=CONFIG::RELEASE,true \ src/Main.as -output bin/Main.swf Loading configuration…
0
votes
3 answers

How to include resource bundles in ActionScript Modules using Flex 4.1?

In the simplest of Flex Projects, create an MXML Flex Module and then load it using the ModuleManager. No problem. Create an ActionScript class that extends Module and then configure your project to compile that into a Module. Load this new…
user56512
0
votes
2 answers

Building Flex with Nant?

I'm wondering if I'm barking up the wrong tree here. Is it possible to replace an Ant build script used for building Flex projects with a Nant build script? Specifically, it doesn't seem like there are any replacements for the Ant ,…
womp
  • 115,835
  • 26
  • 236
  • 269
0
votes
2 answers

Flex application font style is different between Flash Builder and MXMLC

When I compile my project with MXMLC I get a light grey font; if I specify a CSS style Application { color: black;} it fixes some of the colors but not most of them. When I compile with Flash Builder it's a nice solid black. I'm using Halo.swc and…
Kevin
  • 67
  • 4
0
votes
1 answer

ActionScript how to compile .as to binary machine readable format

I am looking for an option for converting my .as ActionScript3 files to binary format before distribution. I tried mxmlc and compc but both are converting source to bytecode which is reversible. Is there any way to hide your source code…
BB23850
  • 109
  • 1
  • 11
0
votes
1 answer

mxmlc/fcsh ignoring [SWF(width="550", height="400", ...)]

I'm compiling an .as file using fcsh, which uses it mxmlc. I use the following shell: mxmlc /Users/johannesjensen/Desktop/Doodler.as -static-link-runtime-shared-libraries=true But when I get the .swf on my desktop it's dimensions are 500x375 and…
Johannes Jensen
  • 1,228
  • 2
  • 18
  • 28
0
votes
1 answer

Compile AS3 into a SWF online using Flex SDK's mxmlc

Read my question thoroughly before responding, I know there’s a site called wonderfl.net I‘ve got the Flex SDK 4 on my Mac and I found a way to compile AS3 into SWF files using Flex's mxmlc compiler in Xcode, so I wondered, would it be possible to…
Johannes Jensen
  • 1,228
  • 2
  • 18
  • 28
0
votes
1 answer

Flex MXMLC Ant task steals the window focus

Has anyone noticed the following behavior building Flex programs using the mxmlc ANT task (running in the background): as the MXMLC task starts, it steals the window focus from whatever application is currently running, and then gives it back again!…
Mark Laff
  • 417
  • 5
  • 17
0
votes
1 answer

Is it possible to compile a FLA using mxmlc?

Let me give you a little explanation of what I'm trying to do first. I'm working on a new AS3 based architecture and I'm trying to fix some issues I had in the past with AS2. Each screen has its own FLA, and multiple screens reference certain…
Justin G
  • 776
  • 1
  • 10
  • 25