Actionscript 3 :: CI-friendly Automated Builds For As3/flex Projects
Jan 27, 2012
We're currently developing a flex web app and our build situation is far from ideal. At present we're (as in individual developers) just building using FlashBuilder and deploying manually. The programmers are currently screaming bloody murder for two reasons, though:The lack of CI is like going back to the stone ageWe don't much care for FlashBuilder(Note: We're only using FlashBuilder because it was the easiest way to set up a flex project in conjunction with Away3d and get it building / rendering correctly -- it's a stopgap solution).As a predominately .NET development shop, we're used to doing continuous integration as well as continuous deployment. Ideally, we'd like to get something comparable to this for our flash projects without tying ourselves to a particular IDE.
Requirements:
The build process must be:
.. runnable via the commandline
.. runnable on both developer and CI build machines (and certainly not requiring an IDE!)
.. preferably as IDE-independent as possible (pragmatism will kick in though; if this causes a lot of friction we'll just pick one).
.. able to run on Windows (we develop using Windows)
We don't mind a touch of duplication or a few manual steps (e.g. tarting up the build scripts if we add a new project via an IDE, or generating one configuration from another if tools exist), but the less duplication / maintenance required the better.
I am going to build chart application with Flash Professional CS5 using AS3.0.Is there any possibility to convert this Flash application into Flex by creating movieclips and symbols in runtime in flex.How to do it.
I have an application which is almost entirely in actionscript. When I build it using Flex SDK 3.5 its size is roughly 378 KB, While Flex SDK 3.0 outputs a swf with roughly 355 KB. What could the reason be?
i have several flash projects and i have common classes. is there a way to share these classes between the project so i won't need to copy it to all the project when ever i modify something?
testing a Flex app without static Automation IDs attached to components? All of the elements in the apps are generated .....
We've investigated FlexMonkey but it appears to be incompatible with any app that utilizes the ExternalInterface. RIATest's scripting language leaves much to be desired...
I've just been tasked with finding automated actionscript frameworks. Can anyone offer the best out there? I'm just beginning to write the code for my project. Is it better for me to keep my MXML and AS in separate files so I can more easily integrate with any frameworks....or does it even matter?
We are currently thinking on getting our apps automaticaly built and tested through a CI server.My major concern is regarding UI tests.. I've been playing with FlexMonkium/Selenium IDE in Firefox but it doesn't really play nice with my app. I'm also testing RIATest 3 but I would have liked the Firefox approach better because it's easy to use for non technical users..A bigger concern is that my app is really complex, using custom events, custom components, ExternalInterface calls.. in order to make it all work smoothly, should I give an automationName to every single component ? How can I handle custom events ? RPC responses time
I have a professional license of Flex 3.3. This allows me to create applications using the data visualization components (charts) without watermarks. However, all of release builds (test, production, etc) occur on our build server.
The build server only has the Flex SDK installed (not full Flex Builder). As a result the SWFs compiled with this SDK contain watermarks on all the charts. How can I apply a Flex Builder Professional license to the build server to remove the watermakrs w/o installing Flex Builder?My build environment is Flex SDK 3.3 + CruiseControl.NET + NAnt.
Does anyone else experience publishing ad hoc builds for the iPhone (from flash cs5) taking a long time (10 minutes +) ? Whereas it would only take a couple for a (non ad hoc) test build. I suspect it might be stuck in a loop somewhere.Or is it simply a matter of waiting patiently whilst the provision is being approved (or whever it's waiting on)
I'm using AsUnit for unit-testing my current AS3 project. My Main() is basically:
if ( UnitTest ) runUnitTests(); else runMainProgram();
where I change UnitTest before building depending on whether I want to run the program or run the unit tests. Is there a way that makes it easier to switch between the two modes?
Optimally, I'd use F5 for building with UnitTest=false and another hotkey for building with UnitTest=false. What is the closest I can get with FlashDevelop?
I'm having problems compiling applications with remote ant, something similar to this. However the flex compiler seems to have problems with this. When I run the same script on my local compiles everything without any problems but when I try the remote ant it fails without giving more information.
I'm a junior developer and I'm having some problems with my flex builder 3. Every time I make a new project, flex builder detects syntax errors like:
1084: Syntax error: expecting rightbracket before leftbrace. FotoBeheer line 23 1084: Syntax error: expecting rightbracket before public. FotoBeheer line 22 1084: Syntax error: expecting rightparen before s. DomoticaSystem line 16 1093: Syntax error. DomoticaSystem line 16
Nevertheless, Fotobeheer will run, but any other program just won't even start. Does anybody have any ideas how to solve this problem?
I'm not a flash developer, I'm having issues figuring out how I should set up these two projects that I have in Flex Builder.I've already created projA which has a .mxml that references several custom controls & skins from com.xxx.controls within projA.I now have to build projB which also has a .mxml that will create a different .swf. I want to use some of the same controls from projA.I currently build projA through the command line and nant and will need to do the same for projB.
Should I create a new project to move all of the common controls into? How do I then use this library project in both the projects & compile via command?
Is there a known app (demo or otherwise) to generate a dependency graph of all projects linked to a given project. Typically these dependencies are seen in the Eclipse-->Flex Project-->Properties-->Flex Build Path. Graph is expected to funnel thru' all the way into these dependencies until the leaf has none.
In a typical as3 or flex project, after loading xml file, i load jpg files (thumbnails etc) manually, so i can use them in sprites / movie clips etc..currently i am working on air mobile project. and i am attempting to load some thumnails(pg) file to list view (spark) and using custom item renderer.itemrenderer has an spark image componnt in it. and its data property is set to Image object.i can check that image files do exists in file application directory.do i need to load all those thumbnails in memory. then use them?
I've just found out about View States in Flex (v3.0), but I am not really sure how widely this is used in real-world applications. Is it a good practice to use it? Are there any pitfalls such as maintainability for instance?
source control on personal Flex projects, and what eclipse plug-ins are available for these source control services? I'd like to add some personal projects to source control when they are ready.
I have several Flex Builder projects which depend on each other (both libraries and "applications",projects which generate an SWF), and want to compile them from commandline. I know there is the fb.exportReleaseBuild ant-Task, but unfortunately it doesn't work on Linux and only comes with Flex Builder.
Is there any other way to build those projects, including their dependencies, from commandline?
I'm currently researching Flex visualization components for demoing purposes and am wondering if anyone in the community has had success building on top of any current open source projects. I'm currently looking at axiis but am wondering if anyone has found anything similar that worked well for building custom visualization components? I've found some stuff hosted on Google code but haven't found anything very mature yet.
I am wondring if anyone has a good resource for opening existing Flex projects that where created in Flex / Flash Builder and run them using the TextMate bundle for Flex and Actionscript projects.
Basically I just want to know if I can walk into an existing project and configure this easily or am I pretty much stuck with using Eclipse ?
I recently completed a project for a custom report UI in Flex. Now, I've been tasked with creating a new application that is essentially a "lite" version of the original UI. It will include only a few of the options that are in the original application. Also, it needs to be a separate application.
I do not want to duplicate my code, so I am planning on moving a bunch of the classes from the original application to a new library that can be shared by both applications. However, I'm trying to figure out how to make this work in my MVC environment.
For example, I have an Accordion component that lets users filter several items. Each Accordion child is an instance of a custom component with two lists (one for entities available for selection, the other for the entities the user has selected). Each child component has properties bound to the Model and functions that call Cairngorm Events.[code]...
Could someone share list of active and popular open source Rich Internet Applications or desktop application (not library or framework) that are built by Adobe AIR/Flex? The popularity and quality I am looking for are something like Azureus/Vuze (Java), XBMC etc. [url]...
I need to create an application, the main срфддутпу will be to work with graphics. The application will contain the basic operations with geometric shapes and creating your own shapes.When creating, I would like to rely on ready-made examples of graphic editors. To do this, I'm looking for examples of open source projects.
I've been porting a Flex 4 codebase to iOS using the adobe packager, but have run into a snag when trying to package our whole codebase. The packager runs for a while and then throws an OutOfMemoryError - even if I increase the java heap size to 4GB. No single piece of code seems to be causing the problem, as it compiles successfully if I cut out large chunks of code, and I can change which chunks I'm omitting. It might be related to the size of the code itself.I've logged a very detailed bug report with adobe here: ou can package to reproduce the issue, a ruby script that generates actionscript codeto generate that AIRI file, and a summary of all of the things I tried before logging the bug.