Flex :: Change Mxmlc From Swf To Html On Ubuntu

Aug 18, 2009

When I use mxmlc to compile my mxml file, I get swf file. Now, I want to change the config to make mxmlc compiler generate html file instead, as we can do in Eclipse or Flex Builder.

View 2 Replies


Similar Posts:


Flex :: Can't Get MXMLC To Work On Ubuntu

Jun 22, 2010

I downloaded the Flex 4 SDK from Adobe and extracted the contents to ~/Documents/flex4_sdk.

Now I have the following simple MXML file:

<?xml version="1.0"?>
<!-- usingas/StatementSyntax.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

[Code]....

When I compile it with mxmlc /path/to/file.mxml, I get:

Loading configuration file ~/Documents/flex4_sdk/frameworks/flex-config.xml/path/to/file.mxml (38642 bytes)

However, the resultant SWF file is blank. (Basically just a white canvas.)

View 1 Replies

Windows :: Flex - MXMLC Throws A Java.lang.NullExceptionPointer When Compiling In Windows (not In Mac Nor Ubuntu)

Feb 23, 2011

I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:

[Code]...

All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.

View 1 Replies

Flash - Mxmlc (flex4 Beta) Command Line On Ubuntu Hangs?

Nov 23, 2009

Im using mxmlc to compile as3 on ubuntu linux. I've donwloaded flex4_b2_100509, just to use the most recent stuff...so Im typing 'mxmlc file.as' but it just hangs on me... it doesnt return anything. I checked running processes ('ps -e') and its showing both mxmlc and java as running, which tells me the compiler started. after a while the shell reports a 'segmentation fault'l.

View 1 Replies

Flex :: Adding Swf To Html In Ubuntu Browsers(all)?

Apr 28, 2011

Possible Duplicate:Why Embeded html file doesnt run on ubuntu system wrote code like this to add swf file to html content. it is working good in all browsers(windows,mac) but not in ubuntu browsers why?

View 1 Replies

Flex Embedded In Html On Ubuntu Using Cherrypy?

Apr 30, 2011

I'm trying to open an SWF file i created using mxmlc but when i open it in the browser it just shows a white page, and if i embed it into html it shows the grey background ... and when i try to open the html file from localhost (using cherrypy) it just says
Error #2046 and the server shows nothing wrong .. the message appears only in the clientI'm using ubuntu 10.10 and running mxmlc from the terminal.

View 1 Replies

Html :: Ubuntu 8 + Firefox 3.6 + Flash : Icons Suddenly Disappear After The Flash Is Being Loaded?

Oct 6, 2010

Situation: Got a flash object with an icon bar (div with pngs) on top of it. Works on all browsers except Firefox 3.6 on Ubuntu 8. Example: http://ListAndPlay.com

Problem: Icons suddenly disappear after the flash is being loaded. See this screenshot: http:[url]...What I've tried: Setting z-index, recoding the JQuery behind it, nothing works.

View 1 Replies

Flex :: Install Plugin For Eclipse On Ubuntu?

Nov 1, 2010

This is not a programming question but i wanted to know How to install flex plugin for eclipse on ubuntu.Point me to any links for this.Eclipse is already installed.

View 2 Replies

Linux :: Flex IDE / Development Env That Works On Ubuntu 64bit?

Oct 28, 2009

Is there a good Flex IDE/development env that works on Ubuntu?Where can this be found?

View 5 Replies

Flex :: Postgresql - Ubuntu: How To Install To Make Postgres

Sep 30, 2010

I'm trying to work on postgresql locally with ubuntu 10.04. I get this error after I configure with./configure --enable-cassert --enable-debug --prefix=$HOME/pgsqlwhen I make && make install I get this error:

make -C parser all
make[3]: Entering directory `/home/james/school/db/pg-stuff/hw1/postgresql-8.4.2/src/backend/parser'

[code].....

View 3 Replies

Flex :: Flash Player On Ubuntu 10 Not Working After Builder Installation

Aug 16, 2010

I've just installed Flash builder on my machine, which went ahead and installed the debug version of Flash on my machine as well. It appears now that this has broken Flash in my browsers or at least the browsers have no idea where flash is located on my machine. When I open a browser and navigate to a Flash page I get the message,

"Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash "

This is from Google chrome but FF is also effected.

View 1 Replies

Flex :: Adding Runtime-library-path To Flex Build Configuration Using Ant Mxmlc Task

Feb 9, 2011

I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :

<runtime-shared-libraries>
<url>some-lib.swf</url>
<url>some-other-lib.swf</url>

[Code]....

View 2 Replies

Flex :: Change The Index.html Flex Output To Admin.anotherExtension?

Dec 9, 2010

i need to change the automatically generated index.html flex output to admin.anotherExtension. I understand that if i change the index.template.html the changes in html level will be preserve when the file is generated, however i need to change the name of the file also, and the extension.

View 1 Replies

Flex :: Flash - Wrapping Or Embedding And MP3 In A SWF Using Flex's Mxmlc Compiler?

May 13, 2010

Our Flash web-based applications play lots of audio for narration and sound-effects. Some of our customers have firewall rules that block downloading of MP3 and other audio files. So, we need to wrap those MP3 files in SWFs. In the past, I've written JSFL scripts that automate the Flash IDE and walk through a complicated, fragile set of steps to embed MP3 files into FLAs and then publish those to SWFs. Now, Flex SDK provides the mxmlc compiler. I've mixed ANT into our workflow, and command-line and automated builds have been a joy. So, I want to make transcoding or wrapping of MP3s part of our build process. I've found Embedding Asset at Compile time in Pure AS3, but this will require that I write a script to generate a wrapper class AS file. Is there a cleaner way to wrap or transcode MP3 files into SWFs?

View 1 Replies

Compile AS3 Into A SWF Online Using Flex SDK's Mxmlc

Aug 7, 2010

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 do this sort of simply online? Using for example a language I'm familiar with, PHP?I thought it'd be a thing that would be interesting to use for a website, or like some private projects.

View 1 Replies

Flex :: Speed Up MXMLC Compiles?

Feb 6, 2012

I am using ant to build my web application. I have a target in my ant script which takes approximately 8 minutes to compile. Since mxmlc compiles everything from scratch and loads up the JVM each time, it is taking a lot of time. Is there a way to optimize this task?[code]...

View 2 Replies

Actionscript 3 :: Generate EXE From Flex Project Using Mxmlc?

Dec 13, 2010

How to generate an Executable file of my MXML (flex) Application. What is the command using in command prompt for MXMLC.exe.

View 1 Replies

Flex :: Determine What Files MXMLC Compiles?

Mar 2, 2011

I need a way to programmatically record what source files are consumed in an MXMLC compile.Ideally there would be a flag to pass to MXMLC to have it report the complete list of sourc files it is compiling, but there doesn't seem to be such a flag. It seems generally you just pass a main.mxml file to MXMLC and it goes off and compiles everything it needs to without telling you what it's doing. As far as I can tell, you also cannot explicitly list the files for it to compile; it will resolve references automatically and compile referenced sources without any way to control that behavior or report on it.

If the compiler cannot supply this information and a user cannot control this behavior, the only other option I can think of is write my own source code scanner for MXML that will traverse all the references in a code tree to give a report of what MXMLC should be compiling, though that's obviously error prone and certainly not something I'm looking forward to.

View 3 Replies

Flex :: Mxmlc Attributes For Release Build

Apr 7, 2011

Which mxmlc attributes do I need to replicate the behaviour of Flash Builder 4's Export Release Build?debug=false and optimize=true seems obvious, but doesn't reduce the swf's file size as FB4's Export Release Build does.

View 1 Replies

Flex :: Why Does Flexmojos Produce A Different Size Swf To Mxmlc

Oct 5, 2011

I am compiling a very simple app, Main.mxml:

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">

[code]....

This is quite worrying because I am developing in Eclipse (which uses mxmlc) yet my master build script (which uses flexmojos) is producing a totally different file.

View 2 Replies

Flex :: Mxmlc Outputs Russian Symbols?

Oct 5, 2011

I've downloaded flex SDK from hen I call mxmlc or compc russian symbols are outputed, so it's impossible to work in command line. Is it possible somehow to switch language to English?

View 1 Replies

ActionScript 3.0 :: Flex Catch Mxmlc Output With Php?

Dec 9, 2009

I am compiling an .as file with mxmlc on the fly using PHP.

CODE:
exec("mxmlc example.as",$retval,$success);
print_r($retval);

[code].....

View 1 Replies

Flex :: Change Swf File Dimension In Html?

Aug 11, 2010

I just built a flex applcation with AS3 only.. the generated swf will expand as much as browser's window..I wish to reduce the dimension of swf file.

View 1 Replies

Flex :: FlexBuilder/MXMLC : Profiling The Build Process?

Feb 8, 2010

I've noticed that, recently, builds in FlexBuilder have been taking much, much longer than they used to (30 or 40 seconds, as opposed to 3 or 4). What is the simplest way of profiling these builds to figure out what is taking so much time?

View 4 Replies

Flex :: Compile A File Into Swf Using Mxmlc In Command Line?

May 13, 2011

I am trying to compile a file into swf using mxmlc in command line. When it is a very simple mxml, compile is successful. But when the file contaion the fx name space, I get a compile error like: could not resolve (or ) to a component implementation.

I have to be able to do this, without the help of Flash Builder because I am working on a project where I will need to generate swf files from mxml files of which we generate the code.The code I am trying to compile is:

<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"

[code]....

View 2 Replies

Flex :: How To Change Location Of HTML Template Folder

Jul 7, 2010

The normal structure is:
project/
bin-debug
html-template
libs
src

I want to change it to:
project/
bin-debug
flash/
html-template
libs
src
I know how to change the libs and src folders, but not html-template. Is it possible?

View 1 Replies

Flash - Flex MXMLC Ant Task Steals The Window Focus?

Aug 5, 2010

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! This is extremely disruptive.Is there a way to run the MXMLC task "headless" so it doesn't interact at all with the window system?I'm running on Mac OS X (10.5.8, if that matters), and Flash 4.0.1 (although the behavior existed on 3.x as well).

View 1 Replies

Flex :: Specify Linked Resource Folder In MXMLC Compiler Arguments?

Oct 13, 2011

I've got external folder with resources (graphics, movies, etc) which is shared between a couple of projects. I'm able to link this resource folder in FlashBuilder (as described in [URL]). After that all the paths to embeds are relative to the project, and that's the behaviour I want.

This linked resource appears in .project file as follows:
<linkedResources><link>
<name>resources</name>
<type>2</type>
<locationURI>DOCUMENTS/Shared/resources</locationURI>
</link></linkedResources>

Note, that it isn't source folder and it is not included in compilerSourcePath tag. The question is how can I specify resource linked folder in mxmlc command line arguments? -source-path is not working here, relative pathes to embeds can not be resolved.

View 1 Replies

Flash :: Flex - Compile .mxml Files At The Command Line Using Bin / Mxmlc?

Nov 7, 2009

I'm interested in learning just enough Flash/Flex to do things that I can't do from HTML and JavaScript alone - play sound files and video, use multiple file upload things, perform cross-domain Ajax requests using the crossdomain.xml file etc. As such, I don't really want to learn (or pay for) the Flex IDE. I'm not much of an IDE guy in any case.

The problem is, most of the tutorials I've found talk about the IDE. I've figured out how to compile .mxml files at the command line using bin/mxmlc - now I just need to learn MXML, ActionScript and the various APIs! What are the best resources for learning these? I'm fine with buying a book, I just don't want to shell out for the API itself.

View 3 Replies

Flex :: Build - Including Configuration Files While Compiling A Application With MXMLC

May 17, 2010

I'm using:

- Flex SDK 3.5.0
- Parsley 2.2.2.
- Flash Builder 4

Down in my src folder (which is configured as part of the source path in the Flash Builder), I have a logging.xml which I configure via Parsley:

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved