Is there any way to speed up MXMLC compiles using Flextasks in Ant in Eclipse. Compared to FDT and Flex Builder's in-built compilation, it is painfully slow.
I moved from using the Flex Builder 3 IDE to Flash Builder a couple weeks ago and have noticed a ridiculous jump in compile times with the same project. It almost seems like every time I build it does a clean build. The project I am working with is pretty big, but when it takes more than 4 mins to build, something is wrong. I tried adding more memory to eclipse and all the tricks I could find on the web but the compile time never really changed. I am running under Windows 7 32bit, and I get the same performance from the plugin and stand alone version of the IDE.
How can I attach an AS3.0 Flash Builder 4 project to a FLA file and a document for compilation? Currently I have a AS project full of files which I can't build. What should I do?
I have to work with a .fla file. I would like to rewrite this file in AS3. Is it possible? I mean, I would get a .swf file as result of compilation of mxml file in Flash Builder 4 IDE, not Flash CS5 (I don't know CS5, I'm a newbie) . Main target is getting a .swf file by compilation of mxml file, not fla file. Could you explain in detail how this code works? For example what's TXT ? Is it a inputText? Where is this variable defined? Now I 'm linking .fla file ....
Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?
Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.
I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?
I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.
[URL]
The project access a web server to retrieve data using JSON.
I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".
It seems it isn't possible at runtime to change styling defined in CSS files, ex.: colors. This is seemingly because the CSS files are compiled into SWF. Is it possible to externalize styling information in CSS (or any other format) without compiling it to SWF file so that it can be changed easily at runtime just as normal CSS can be changed when it is used in HTML.
Does MXML get compiled down to as3 and then converted to flash bytecode? Also, is there a significant performance penalty to compiling mxml vs compiling as3?
In AS3 you can pass a constant to the compiler -define+=CONFIG::DEBUG,true And use it for conditional compilation like so:
CONFIG::DEBUG {trace("This only gets compiled when debug is true.");}
I'm looking for something like #ifndef so I can negate the value of debug and use it to conditionally add release code. The only solution I've found so far was in the conditional compilation documentation at adobe and since my debug and release configurations are mutually exclusive I don't like the idea of having both DEBUG and RELEASE constants.
Also, this format works, but I'm assuming that it's running the check at runtime which is not what I want:
I'm having an odd problem that isn't mission critical since I can use the command line with no probs.In my earlier post http:[url]... I had problems getting the web compiler to work.Now that it's working I use this in a browser to compile: http:[url]...
and I get this error as a result:
ERROR : Could not resolve to a component implementation.
Everything is legit and the most recommended solution is that the namespaces aren't correct. I've checked those and they're fine. Other answers I've come across relate to external components causing a problem but as you can see, I'm not using an external component.Here's the kicker. If I do a compile via command line:
mxmlc topsight.mxml
it compiles perfectly.Specs are still the same from the prior post and I'm using the Flex 3 SDK.Not sure if this would help but I did the download from http:[url]... and I clicked on the Open Source Flex SDK - Milestone 3.3
I am trying to set some public static constants on a class conditionally by passing variables to the compiler e.g. -define=CONFIG::ENVIRONMENT,'testing_server'
[Code]...
Obviously this means I have to tinker with long command line setting each time. I thought my initial approach was possible given the documentation and various tutorials I have read.
I'm building a Flex/AIR application that connects to a remote server, the URL of which changes depending on the environment (development/production, and possibly others). For now, this URL parameter is hardcoded in my root application MXML file but it means I have to change it everytime I build my app for a different environment.Is there a way to externalize such a parameter so that when Flash Builder automatically builds my app (in development mode), it uses the development URL
I have a web application written in Flex and I'm trying to build an AIR application from the same code base using conditional compilation.
In the AIR application, I need to have import statements such as the following: import flash.data.SQLConnection; import flash.filesystem.File; but I cannot have these import statements in the web application because they are AIR only classes.
[Code]...
and similar approach to include web or AIR specific functions during compilation. The approach seems to have worked so far The only place I have run across issues is in my Cairngorm's model locator. If I put CONFIG::desktopMode around import statements in Cairngorm's model locator, it starts giving "Uncaught exception in compiler" or "1131 classes must not be nested" error. I'm not sure how to address this error!
In Flex it is now possible to use the -define compiler option to do all sorts of cool stuff.In my program, I am using the option such that some of my code is excluded by blocks like this:
CONFIG::FACEBOOK{ //Some code }
And this is working well.How do I get a similar behaviour with MXML?I want to do the same thing, but omitting/including MXML tags in this way, not blocks of AS code.
I am trying to build an application which has a flex front-end and a php back-end. I am struggling to do something with this application which I couldn't figure out a way to do. I would want my flex application to show a view based on an MXML it recieves from the server as a response to some interaction in the flex application. for example, lets say there are two buttons on the current view and if i press the first button, it will load one mxml/as3 from the server, and when i click the other, it will load a different mxml. How do you think i can tackle this situation? how to do this as i've been banging my head on the wall trying to figure out a way.
When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?
From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]
I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.
ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value. var loader:Loader = new Loader();
I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?
Is there a way to tell which AIR runtime it is using?
I am using Flash Builder 4 on my MAC. Flex SDK 4.0. Flash Player 10.1.By executing this code below I only see the trace saying "start". And if I look at the Declaration of the ENTER_FRAME is see the error saying: "Source could not be found for flash.events.Event.Enter_Frame in...."But the playerglobal.swc source is there, and I have tried different SDK versions and FP versions.If this is a Flash Builder problem I can not be the only one having this issue?[code]
Compilation failed while executing: as. I am publishing a swf with one frame, no scripts, no graphics, nothing. This is a result of removing asset after asset from my original swf, which produced the same publishing error, in an effort to determine what the issue is. What conclusion can I draw from this? I just want it to do what it says on the tin: Publish flash to iOS apps. Why is this not possible?
I'm setting up a build system for a Flash Builder 4 (Flex 4) based project; and I'm struggling to get a setup that compiles in the IDE the same as it does from the command line on the build server.I come from a C# background; and my expectation is that I'll be able to create a "solution" with a collection of "projects" that I can compile from the IDE, or from the command line on the build server.The best I've managed sofar is 2 separate build "scripts", a custom ant script for the build server, and the default Flash Builder IDE config based on a workspace; but this is making my DRY daemons jump around in fury.