flex

How to boost productivity in my Flex/Java stack?

I am embarking on a new RIA project with Java on the backend. I'm the only developer, and the app is a line-of-business application. My current stack looks like this: MySQL || Spring(JdbcTemplate for data access) || BlazeDS (remoting) || Flex(Cairngorm) My question is: what changes can I make to improve productivity? Manually coding SQ...

Does anyone know if the crossdomain policy file at salesforce.com has changed?

Suddenly my Flex Apps can no longer connect to salesforce.com via its API, I am getting a security sandbox violation. Login credentials are correct, I have tried them via a different means, and I have obfuscated them below. This was working fine earlier today and I have not been coding since then. Anyone else come across this or know ...

How can I display information when I mouseover a chart line in Flex?

I'm building a simple Flex applicaton where I want to show a line chart, then display some information in a little popup box when user mouses over a line. ...

Flash TextField HTML - How do I prevent the error dialogue for missing images? (Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.)

I'm using a Flash TextField control to display some HTML content inside a Flash presentation to be shown on a large touch-screen kiosk. Unfortunately, if any image tag in the displayed HTML content points to a non-existent image, a dialogue is shown with the error message Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not ...

What is the best way to display HTML in Flex?

I have HTML that includes symbols such as the Trademark "TM" as superscript (). In normal HTML, I would use "&trade;" or &#153; to display the Trademark TM. However, I can find no way to import HTML like this into Flex and have it displayed correctly. I am having similar issues with the <li> tag. My HTML: <p>This information is intelle...

How is FlexBuilder compiling my app?

I'd like to see the command-line arguments that FlexBuilder is using to compile my application. This is so that I can build them into the ANT script I'm working on. Is there any way to view the command line compilation step? The reason I'm asking for this is that when I compile my app using Ant/Flex SDK vs. FlexBuilder my app behaves di...

What ways are there to reformat/revalidate a tree of controls in Flex other than ValidateNow()

I am having problems with text with multiple lines not reformatting properly when I call loadStyleDeclarations. However if I load the same stylesheet TWICE then it correctly refreshes and reformats the text. So what I want to do is refresh my control to get it to reformat the text. I've tried ValidateNow() and ValidateDisplayList() but ...

Multi line text in Flex doesnt recalculate when runtime css is changed

For loading time considerations I am using a runtime css file in my Flex Application. I am having a problem with a multi line text control : <mx:Text id="txtDescription" selectable="false" styleName="imageRolloverButtonTextDark" width="100%" textAlign="center" text="{_rolloverText}"/> When my CSS stylesheet has loaded the text style ...

Recommended project structure for Flex builds

I'm starting a new project using Flex3 for a reasonably intricate UI getting its data from a collection of RESTful web services. I wondering what experiences others have had in structuring a moderately complex Flex project. The issues I'm thinking about include: I want to use our FlexBuilder licenses for visual editing of layouts and d...

Flex Help: Repeaters not repeating in an Accordian control.

I am having a issue with databinding child repeaters inside an accordion control, hopefully you can help... I have an accordion in a ViewStack (of which,that ViewStack is also in another top-level ViewStack). I have a repeater in each child of the accordion control. The component looks like such: <mx:Box xmlns:mx="http://www.ado...

What is the best (most productive) FLEX IDE?

Some requirements: Step-by-step debugging & Break Points View variable values while debugging I'm not concerned about cost (Ok, over $1K gets a little pricey looking :-) ...

What are the Pros/Cons of FlexBuilder vs. Flash Develop (.org) ?

I want to play around a bit with FLASH for app development. I'm looking for a good IDE for that. Someone suggested Flash Develop. ...

Does the virtual keyword in Flex 3 cause a performance hit?

As the title says really. Does the virtual keyword cause a performance hit? ...

Air application created with Flex - How do I create a fly-out window to the left/right

I have an Air application with a main window. I would like to have a new window fly out from the side of the main window when the user clicks on a button in the main window. The window that appears needs to display information based on value passed from the main form. How can I achieve this with Flex Builder 3? Target platform: any vers...

how to make text line break in flex textarea

I have a string var s:String = "This is a line \n This is another line."; this.txtHolder.text = s; //.text has \n, not a new line and i want to put it into a text area, but the new line character is ignored. How can i ensure that the text breaks where i want it to when its assigned? ...

How to make a window show up outside the app?

In our Flex AIR app, we have the problem that our main app window is fairly narrow. This means Alert dialog boxes are chopped on both side, while the right click menu is cropped. How can we get these windows to not get cropped by our main window? ...

Conceptual question: Loose Coupling

Hi, I am building a graphic board like project where i am facing a design issue. Main Class is Board which is a canvas responsible for handling mouse events when drawing shapes. It also has context variables such as currentShape or snapFlag to activate grid magnetism. To handle the moving / resizing / rotating of the shapes, they inhe...

Is Flex ready for prime time?

I'm working on a project that currently has zero users but we would like to scale up to potentially hundreds. Currently we are running on a MySQL database with AMFPHP interacting with Flex. We used Flex because of its robust graphic features (important to this project) and because the initial developer (not me) already knew ActionScrip...

C++/Qt vs Adobe AIR

I have to choose a platform for our product. I have to decide between The Qt Framework and Adobe's AIR. I am well versed with Qt as I have worked for the last two years. I looked up at the Adobe's site but all the info about flex, flash, ability to coding in HTML/ActionScript is overwhelming and confusing. I cannot understand the followi...

How can I remove / clear items out of a list control in Flex?

Title says it all, I have a list control in Flex that has been data bound to an e4x xml object from an HTTPService. I would now like to have a button that clears the list, how can I do this? I have tried: list.dataProvider = null; which does not seem to work, I have also tried: list.dataProvider = {}; which clears the item...