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


Similar Posts:


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 :: 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 :: 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

Flex :: Unable To Export As EXE In Release Build

Nov 28, 2010

On Windows XP 32bits, I find it strange that the FB4 Export Release Build doesn't have the option to export as EXE in contrast to the one I have in W7 64bit?

View 1 Replies

Release - Flex Build Use Local Files?

May 26, 2011

I have a very stupid problem. I'm using Flash Builder (Flex) 4. My application displays a video using VideoDisplay component and some images. The video filename is always named video.mp4 and the images are inside a folder called "real/". The video file and the real folder are in the SAME location of the .swf built.

The video source in the code is set like this: videoDisplay.source = 'video.mp4';

and the images, loaded dynamically, are like:

img.source = 'real/' + imageFilename;

[Code]...

View 1 Replies

Flex :: Can't Export Release Build / Compile For Adobe AIR 1.0?

May 19, 2010

I opened up an old project in Flex Builder 3 which runs on Adobe AIR 1.0. I believe it was originally written in Flex Builder 2. When I try to run the Adobe Air application, nothing happens. When I try to export a release build, I get this error: If I change the main-app.xml file to use the 1.5 version of the namespace, it builds fine. Unfortunately, the clients environment runs on 1.0. Ideas?

View 2 Replies

Xml :: Flex - Flashbuilder 4 Won't Copy An Xml File In Release Build?

Jul 20, 2010

I have my own conf.xml file (src/conf/conf.xml) consists some properties (alphas, colors,etc). When i try to export release build, I see list of files which not includes that file.Why? When i run my application at debug it file places in "bin-debug" folder.

View 1 Replies

Flex :: Missing 'Export Release Build' Button

May 12, 2011

So I was working normally, and accidentally hit the profiling button after that, I later decided to export my current.air.URL...Why would the export button disappear all the sudden? I cannot find it at all. It seems rather interesting not being able to export a .air and provide an installer.

View 1 Replies

Flex :: Embed Image - Release Build Not Working?

Sep 6, 2011

I've a flex application which has actionscript file, images. When i run this in adobe flash builder, everything works. When i export it as a release build and run in other file, swf does not show images and interactivity of flex components is also lost.Is there a specific way to embed images?Here is image code,

View 1 Replies

Actionscript :: Flex Project Swf Is Not Working After Export The Release Build?

Aug 15, 2010

I tried to built a project with AS3 only in Flex. When I run the project in flex, everything looks fine,but when I export the release build, the images that are supposed to be added are gone.

[Code]...

View 1 Replies

Flex :: Flash Builder 4 Release Build Multiple Files?

Dec 8, 2010

When i make a release build the folder is populated with a number of swfs. Are all these swfs necessary?Is there a option to generate one swf?

EDIT: The files I see are:

framework_4.5.0.18623.swf
osmf_1.0.0.16316.swf
rpc_4.5.0.18623.swf[code].....

View 2 Replies

Flex :: Air - Adobe Export Release Build Doesn't Work - Mac OSX - Builder 3

Jun 4, 2010

I have an AIR application i'm trying to release with flexbuilder. Launching application has no problem ... bin-debug dir is correctly filled with my files. But when i want to create the AIR file (export release fuild), AIR files content view is empty and bin-debug directory is never filled.

View 4 Replies

Flex :: Web Applications - When Export A Release Build, It Generates A Whole Bunch Of Files?

Jan 19, 2011

I made an application in Flex 4. When I export a release build, it generates a whole bunch of files. (including the skins used, etc, etc.)How do I make those plentiful files except the container HTML file, get compiled into a single SWF file?E.g.My folder should only contain:

my_app.swf
my_app.html

But my_app.swf should still run like a normal Flex 4 app, only this time, all the files, images, skins, etc are inside that one SWF file.

View 2 Replies

Build .swf From Command Line Mxmlc For Mobile?

Feb 23, 2011

i am trying to find out how to build my .as for mobile browser on Android 2.2 smartphone.I downloaded latest distribution of "Hero" SDK, but all tutorials show only how to create mobile project with Flash Builder. how to build .swf from command line mxmlc for mobile ?

View 1 Replies

Flex :: Export App Including Database Files With Using Export Build Release Wizard?

Apr 1, 2011

When I try to export my application to native installer with using Export Build Release, it isn't importing my sqlite database files which are in my application directory. Is there a way that I can import those database files ?

View 1 Replies

ActionScript 3.0 :: Xml Not Exported In Release Build?

Sep 7, 2011

I have an xml that i want to be able to be edited after the release build, the xml is not included when i export the release build but the program still functions properly. How can I make the xml visible?

View 0 Replies

Professional :: Html Wrapper Not Getting Used For Release Build

Jun 24, 2010

I am using Flash Builder 4.  In the Flex Compiler option, I checked 'Generate HTML wrapper file', and then added some text to the  alternateContent variable in the auto generated index.template.html wrapper found in html-template folder. For Run/debug settings I have the src/index.html file set as the file to be launched. In the bin-debug folder, the index.html incorporates the content of the html wrapper, and when I run the app in debug mode it behaves as I would expect.  However, when I export a release build, the index.html file doesn't incorporate the content of the html wrapper file, and therefore doesn't do the check for a valid version of Flash Player.  Do I have to manually copy the index.html file from bin-debug to bin-release each time I export a release build (this does seem to work)

View 1 Replies

Eclipse :: Flash Builder Export Release Build Fails

May 10, 2011

I'm having an issue when trying to export the release build of my AIR application in Flash Builder 4.5. After choosing the key to sign the package and clicking finish to complete the export, it errors saying that "Error occurred while saving the project settings: "default" build target cannot be found for the selected project." I've included the error message output to the log in the .metadata folder.

!ENTRY com.adobe.flexbuilder.project 4 43 2011-05-10 15:56:11.432
!MESSAGE Failed to get build target settings: default
!STACK 0
java.lang.Exception

[Code].....

I have tried what J_A_X has recommended. Unfortunately none of those work. It seems to be a problem somewhere within the project settings. We have also tried running the export release build for this project on different machines with fresh installs of flash builder, but the same error message is produced every time. We've looked through so many settings it may come down to having to create a new project and copy all the code into the new application.

View 2 Replies

Actionscript :: AIR3 Native Process Will Not Start In Release Build?

Nov 2, 2011

Currently I am building an application that launches crtmpd (a rtmp server written in C++).

Whenever I launch the application from within Flash Builder it works great, if I install a release build from an air file the process.start() returns a generic "could not start process" error.

The crtmpserver.exe is stored in applicationDirectory and the config file is kept in applicationStorageDirectoy.

So I've moved it to the native storage directory. But the problem persists. I've found the following though:

startupInfo = new NativeProcessStartupInfo();
startupInfo.executable = binFile;
processArgs = new Vector.<String>();
processArgs.push(luaFile.nativePath);
startupInfo.arguments = processArgs;

In the IDE after this startupInfo is setup correctly. On client machines all properties of startupInfo are still null.

View 2 Replies

Actionscript 3 :: Flash.display.Loader Blocks On Load In Release Build?

Apr 26, 2010

I'm loading a swf-file from my program written in as3 using the flash.display.Loader class. When I'm using the debug build configuration in FlashDevelop everything works fine. But when I'm using the release build configuration the program freezes for around two seconds efter the loader sends the progress events and before sending the complete event.

This is my program:

package
{
import flash.display.Loader;
import flash.display.Sprite;

[Code]....

After around two seconds where the program is frozen the line Completed on frame: 2 is added and the 'On frame X' counter starts ticking up. Debug build produces the same output but without the freeze.

Not all swf-files I have tried loading triggers the problem. The size of the file doesn't seem to affect anything. I have tried compiling and running on another computer with the same result.

Edit: I noticed that if the program is compiled with debug=true the flash player takes around two seconds to start, the same length of time the flash player is frozen when debug=false.

View 1 Replies

Flash :: Flex - TFS Build 2010 Call An Ant Script And / Or Build?

Mar 31, 2011

In TFS 2010 build, I have a new build and I want to call an ant script that builds Flash. How do I call the ant script? Also How can I compile the Flash directly? I've seen the Power Tools and this question but it doesn't help me as we don't have TFS 2008. I can't find any documentation on how to use the power tools except the 1 sentence on the bottom of download page saying to create your build the old way and import it (which isn't very helpful). I've installed the power tools on the agent computer but I don't see any new options in the Toolbox when I'm designing the build flow.

View 2 Replies

Flex :: Creating Ant Build Script To Build Only When A Dependency Was Updated?

Apr 14, 2011

I just started working with ant a few days ago. Right now I have a general buildall.xml which should call each project's build.xml. Because some projects depend on each other, I need to rebuild some other projects which depend on it. This isn't a problem--I'm just setting the depends property of the target. However, ant is always building the dependencies, even when the files haven't changed.Let's say project1 has no dependencies; project2 depends on project1; project3 depends on project1, 2; project4 depends on project1, 2, and 3; and so on.I could hack a solution which looks at project K, and checks if project 1 .. project K have updated files using uptodate. If so, then run the target. This is messy and appears unnecessary.

What is the cleanest way to implement this?EDIT: So I decided to just hack in a bunch of targets, "check_projectK" where it does the uptodate checks on all of its source files, its build file, and the build files of the 1 .. K-1 projects. Due to dependencies, this is always handled correctly. However, this is still a large amount of copy and paste for a large workspace.

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

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

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

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

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







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