flex

What are the best books for Flex and Adobe AIR?

My team is about to build a new product and we are using Flex as the front end. There are other book posts on stackoverflow, but I couldn't find one that matched my needs. My manager will be purchasing books for our team to use as a resource so... What are the best books about Flex (including using a web browser, or Adobe AIR applicat...

Flex and crossdomain.xml

Hi I was wondering are there any security concerns with adding crossdomain.xml to the root of an application server? Can it be added to nay other parts of the server and are you aware of any work arounds that dont require the server to have this file in place? Thanks Damien ...

Flex Builder 3 design view, css not being applied

I have Flex Builder 3 installed on two Windows machines and the same project on both of them. On one computer, the CSS styles I defined are shown in design view; on the other computer they are not applied. Is there any reason why it might not work on one? ...

How to catch all exceptions in Flex?

When I run a Flex application in the debug flash player I get an exception pop up as soon as something unexpected happened. However when a customer uses the application he does not use the debug flash player. In this case he does not get an exception pop up, but he UI is not working. So for supportability reasons, I would like to catch ...

Problem consuming ActiveMQ messages from Flex client

Hi, I am unable to consume messages sent via ActiveMQ from my Flex client. Sending messages via the Producer seems to work, I can also see that the Flex client is connected and subscribed via the properties on the Consumer object, however the "message" event on the Consumer is never fired so it seems like the messages are not received. ...

Duplicate complex MXML binding in ActionScript

MXML lets you do some really quite powerful data binding such as: <mx:Button id="myBtn" label="Buy an {itemName}" visible="{itemName!=null}"/> I've found that the BindingUtils class can bind values to simple properties, but neither of the bindings above do this. Is it possible to do the same in AS3 code, or is Flex silently generating...

Is there a way to get FlexBuilder 3 to treat a project as an Application and a LIbrary?

My team builds reusable libraries for other (internal) software development teams. We use FlexBuilder 3 as our development environment. Our SCM standards state that these projects must include test harnesses and a unit test runner, and (of course) we want to be able to use the debugger. For that reason, all the projects are Application...

Flex: Custom Item Renderer For Combobox controls truncates text

I've implemented a custom item renderer that I'm using with a combobox on a flex project I'm working on. It displays and icon and some text for each item. The only problem is that when the text is long the width of the menu is not being adjusted properly and the text is being truncated when displayed. I've tried tweaking all of the obvio...

Flash/FLEX 3 Argument Error 2082

Has anyone else experienced this error? Sometimes it pops up at the beginning of loading the application with Argument Error 2082. The only way I can solve it is by rebooting my machine. Restarting the browser doesn't even solve it. I have read about some solutions on the web, but I am interested in knowing what others have tried using t...

Production Logging in Flex

Is there any way to capture the trace statements of your Flex app while not running in debug mode? Or is there any other way to output logging information when not running a debugger? Currently I'm trying to fix a bug that only presents itself in very specific deployment scenario, but I could see this being useful in some instances for...

Flex - best strategy for keeping client data in synch with backend database?

In an Adobe flex applicaiton using BlazeDS AMF remoting, what is the best stategy for keeping the local data fresh and in synch with the backend database? In a typical web application, web pages refresh the view each time they are loaded, so the data in the view is never too old. In a Flex application, there is the tempation to load...

Objectively, what are the pros and cons of Cairngorm over PureMVC?

There are so many reasons why using an MVC framework in Flex rocks, but picking the right one seems tricky. I am interested in what you all think from your experiences of implementing either of these (or another). Sam ...

how do i add project references to swcs in FlashDevelop

I am trying to add a project reference or swc to papervision in FlashDevelop but intellisense isn't picking it up. I've done it before but i forgot how. Thanks. ...

Can you recommend a good FLEX online resource or book?

Are there any favorite online references or good introductory and intermediate/advanced books on this topic that you could recommend to me? I'm a java developer, so I'm looking for something which would be familiar as possible as to me. ...

flex webservice client

Hi Has anybody any useful links that can be used to consume a web service using flex? The easier the solution the better Thanks ...

Creating a column of RadioButtons in Adobe Flex

I'm using the AdvancedDataGrid widget and I want two columns to be radio buttons, where each column is it's own RadioButtonGroup. I thought I had all the necessary mxxml, but I'm running into a strange behavior issue. When I scroll up and down, the button change values! The selected button becomes deselected, and unselected ones becom...

Flex AdvancedDataGrid: How do I style the summary rows?

I have an AdvancedDataGrid with a GroupingCollection and a SummaryRow. How do I display the summary row data in bold? Below is my code: <mx:AdvancedDataGrid width="100%" height="100%" id="adg" defaultLeafIcon="{null}" > <mx:dataProvider> <mx:GroupingCollection id="gc" source="{dataProvider}"> <mx:Grouping> ...

Flex profiler gives "Socket timeout " error. Why for?

When trying to run the Flex Builder 3 profiler on any I don't get the profiler dialog window and then after a few seconds I get "Socket timeout" in the console window. Any ideas why it can't connect? I've got the latest debug version of Flash player and have tried shutting off my firewall. I'm running it on XP from the local drive, ie....

How do I unload a externally loaded SWF file from a SWFLoader component in Adobe Flex?

I have an application that loads external SWF files and plays them inside a Adobe Flex / Air application via the SWFLoader Flex component. I have been trying to find a way to unload them from a button click event. I have Google'd far and wide and no one seems to have been able to do it without a hack. The combination of code I see people...

How can I detect and invoke a user's local installation of the AIR runtime on a particular AIR application?

I am writing a program that has an AIR front-end, but a back-end written in another language (Python, in this case). Since AIR can't invoke other executables, the relationship has to be the other way around, with Python running an AIR subprocess. How can I locate the user's AIR runtime? I'd like to be able to do this on Mac, Windows, ...