flex

Can Rect rounded corners be different

When I use <s:Rect> to create a rectangle, I use radiusX to get rounded corners. Problem is all are the same roundedness. Is there something similar to Rect that lets me control the radius for each corner separately? If not, what's the best way to create this from scratch? graphics library or what? ...

A Better Way To Make SelectedIndex Correspond To Selected Item In Flex ComboBox

Isn't there a better way to accomplish this?: (RegionID is a Flex ComboBox) RegionID.selectedItem=value.Region; var N:int=0; for each (var E:Object in RegionID.dataProvider.source) { if (E==value.Region) { RegionID.selectedIndex=N; } N++; } this.validateNow(); All I want...

in flex how to change cursor(hand cursor) when mouse over ..eg image or chart...ects

how to change the cursor when move over a chart in flex i have tried useHandCursor="true" but it's not working in charts.....and it should show values also.... ...

Creating custom MXML components

When I define custom propertie in my MXML component, I also want to define a set of possible values of that property to make Flex Builder show then (possible values of the custom property) when I invoke code completion function. Any idea how it could be done? ...

Flexible Django

There is a remarkable book "Flexible Rails" http://www.manning.com/armstrong/. Is there something similar about integration Django and Flex? ...

Flex Individual image loading

I want to know if anyone can point me in the right direction for individually loading images (I think thats what is happening) in Flex 4. I saw this site and I like the way each individual picture gets loaded when a new category is opened and thought it would be very useful in our next project. ...

Including multiple modules in a single application

I have developed an application that loads modules where an application calls 4 different modules that generates pie chart using xml returned from server. When I include a single module in that application using moduleloader, it works fine. When i include 2 modules, it is less efficient. And when I include more than 2 modules , then the ...

Caurina Transitions

How to import it in Flex? import caurina.transitions.Tweener; It says: 1120: Access of undefined property Tweener. When I do something like: Tweener.addTween(... Thanks, ...

Export FLA composition to FLEX

Is it possible to export FLA composition to Flex? So it will work exactly as in Flash Pro but instead in FLEX? FLA contains a bunch of movieClips, buttons, images, all driven by an .as file. Thanks, ...

Linechart with labelled plots

I have a line chart with 4 line series with diamond, circle, box and triangle as item renderer for the plots for these 4 line series. Now my requirement is I want to show labels for the plots in the chart. It should be like this : I tried with some item renderes but not getting it correctly since I want to use the circles and triangl...

How to set TextArea height to its content height

I have an mx:TextArea and I want its height to be the same as its content height. There is nothing fancy - just a text area and text that is not editable. I need a simple and reliable way to make the control fit and show all the text without vertical scroll - something like auto resizing. Also my control's text will be set only once and ...

How to pass array for Inspectable paramether

When I create a custom component, I define a property which is array that could accept values from the enumeration, see code below: [Inspectable(type="Array", defaultValue="day, month", enumeration="day, week, decade, month, year")] public var selectionMode:Array; I would like to know how I can pass array of values to my component fr...

Image as ByteArray in Flex

I would like to be able to move images into and out of Flex by converting back and forth between ByteArrays. I've been having some trouble with this, so I designed a simple test program, and even that I can't get to work. Here's the code I'm trying right now: protected function button3_clickHandler(event:MouseEvent):void { var loader:Lo...

Correct way of passing and reading parameters to a .swf in Flex?

What is the preferred way of passing parameters to a Flex application deployed as a .swf and how do I read the parameters from Flex? I'm looking for the equivalent of passing and reading URL parameters in Flex land. ...

Flex: dynamic filtering (like google's or google finance)

I wanted to put a search box in my flex app that would act just like google or google finance: you start typing and a drop down list just below starts filtering the results dynamically. Does anyone know how to do this in flex? I am using flex and php so as the user types it will pull results off the server dynamically. thanks! ...

Notes and remarks over the GUI

Hi guys, I am developing a flex application for collaborative data analysis. To present the data my application uses standard and custom components (grids, charts etc.). I want to deliver the feature that allows users making notes over the GUI of my application. So, other users will see they notes late on. At the moment my question i...

How to add Scroller in Main application/Windows of Flex?

Hey guys, I am new to Flex. I am trying to add a scroller in my main application/windows. Is that possible? I found out it is possible to add scoller bars in DataGrid, like horizontalScrollPolicy="on". How to implement it in containers like Group,Panel and etc? Thanks ...

AMF and Cross Site scripting vulnerabilty confusion

I just got hammered on a Security Audit by Deloitte on behalf of SFDC. Basically we use flex and communicate via AMF. We use FluorineFX for this (as opposed to LCDS and Blaze). We are being told that because the AMF response is not encoded and that someone can manipulate the AMF parameters and insert Javascript that this is a XSS vulnera...

How to add XML to SOAP request in Flex

I have a Flex service defined like so: <mx:operation name="postTableDetails" resultFormat="e4x" result="event.token.resultHandler(event);" fault="event.token.faultHandler(event);"> <mx:request> <catalog></catalog> <schema></schema> <table></table> <details></details> Anyway, ...

I can't get MXMLC to work on Ubuntu.

Okay, 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"&gt; <mx:Label id="label1"/> </mx:Application> When I compile it with m...