flex

Flex Combobox how to set characters to have the same width

I am simulating a multi-column combobox by introducing spaces between each column, such that all rows for the 3 columns should appear in a single line. The gap in this implementation is that due to the varying widths of characters, this spacing technique does not work. How to set the combobox characters to have the same width? The o...

Can't pass data from child to child

I have a parent and 2 children. I am trying to pass data from child1 to child2 but keep getting an error message: 1061: Call to a possibly undefined method through a reference with a static type. In child1 I have the following code: [Bindable] public var TestVar:String='sometext'; In child2 I am trying to get the value of TestVar an...

How to design a flash based website when user has different screen size and different resolution ?

I am developing a flash based website using mxml. My monitor's resolution is 1280x768 and is widescreen. The problem is while it appears properly in my screen it doesn't appear properly in others. Which is the best approach to solve the problem ? I have 2 in mind. Let scrollbars take care of it : If the screen is 14 inch screen...

PDF export to local using AlivePDF with flex

I need to export charts and data tables to pdf file in flex application. For this we can user AlivePDF but i need to export to local not server. Can we export to local system prompting user to select the location to export? Thanks in advance. ...

Flex:- draw a pie chart in a popup window

Hi friends, I have drawn a pie chart,I want that when I roll over my mouse on this pie chart, a popup window opens and the same pie chart is drawn in this popup window.(Only the pie chart in this popup window is magnified).Take any input directly. Thanks in advance. ...

Dispatching events between classes

I have a custom event class public class FFTDrawEvent extends Event { public static const DRAW_EVENT:String = "drawEvent"; private var _param:Array = new Array(); public function FFTDrawEvent(type:String, __param:Array, bubbles:Boolean=true, cancelable:Boolean=false) { _param = __param; super(type, bubbles...

Flex : How to design a fully functionnal automated App ?

Hi everyone, 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 beca...

Video is corrupting when compiled with mxmlc but not Flash IDE

Hi, I have movieclips containing FLV video sequences. When this FLV plays in a SWF compiled from mxmlc, the video is completely corrupted - all different coloured blocks. If I compile from the IDE the video plays fine. It's a bit more involved than this: if I play multiple copies of the same FLV at the same time, they're fine, wher...

Flex editable datagrid with itemEditor "combobox" not auto scroll when I edit a cell

Hi, I have a flex datagrid with dynamic columns (matrix 60 x 60 by sample) and each cell is a "combobox". My problem is when the vertical scroll position moves through any row following. How can I control this error? How can I use "verticalScrollPosition"???? <mx:DataGrid height="100%" id="dgLineRanges" editable="{editable}" itemEditBeg...

flex scatterplot custom renderer

I have a scatter plot with 10 points, some points are above and below some thresh hold. I need to show different color for those above thresh hold below thresh hold within thresh hold Effectively, can the 10 points be colored a different color? Is it possible to do this with some renderer ? I am looking for a renderer since , the ...

Flex - dataservice tests fine but not fine beyond that

I've got flex 4 and am trying to connect to a php dataservice. I've got paging enabled and have tweaked the default paging method so I can filter the results, ala "SELECT name, form FROM $this->tablename WHERE id='$q' LIMIT ?, ?". When I test the call via the built-in test function in Flex I get the results I want when I put in a filter ...

BlazeDs with default destination set to DefaultHTTPS throws Premature End of File Error

Hi all, I'm working on a Flex project that uses the proxy-config file in Blaze in order to get puts and deletes to work for our HTTPService calls. All the calls use https so I have the destination set up to be DefaultHTTPS. When I call any of the HTTPService from my Flex application I get a "Premature End Of File" error. I've calle...

highlight item in spark list

I have two spark lists and want to drag items from one list to the other. When im dragging an item and over the other list item, i want the target item to change the background coloer. Basically instead of showing the black line indicating that I will drop between elements, I want to see the target item highlight. Thanks in advance. ...

how to create a text stepper control in flex?

I need a control in Flex 3 that is like NumericStepper, but that can display arbitrary strings. Does this control exist? If not, what are your suggestions for creating it, or references you would recommend? For convenience, I'm calling this a TextStepper. I want this as a compact way to display a list of string choices that a user ca...

How can i resize the entire flex app just like acrobat connect?

hi guys. ive been pondering how to create the same type of resizing that acrobat connect does. i did read the documentation of percentage sizing. and i have implemented it. but its not how i want it to look. to see an example : https://admin.na3.acrobat.com/_a204547676/flextras/ sorry Jeffrey to use you as an example. :) just try...

preserve an ID value accross tabs in Flex

What would be the best way to keep a value throughout different tabs. I have a main page which has several tabs, each tab is opened as a component. And I need to have a value for ID to be preserved thru each tab. Right now in the main page I declare the value [Bindable] public var myID:String; And then call it using; p...

Upload image by using Flex and PHP..

Hello I was wondering if anyone knows the best way to upload the image file by using Flex 4 and PHP. I have searched online but most of them are using Flex 2 or older version. I am just curious if there are any new ways to do it. If you know any good sites or articles, please reply. I appreciate the help! update: just found a good ...

[Flex] Warning: css type selectors are not supported in components 'sparks.component.TextInput'

Hello I am trying to do a simple CSS declaration. However, I got the warning above and not sure how to solve it. I thought s|(type) should declare the style for me :(. Thanks for the reply... <fx:Style> @namespace s "library://ns.adobe.com/flex/spark"; @namespace mx "library://ns.adobe.com/flex/mx"; s|TextInp...

Determining which LineSeries a user clicked on within a LineChart, in Flex 4

I have multiple LineSeries within a LineChart, sort of like this: private var data:ArrayCollection = new ArrayCollection( [ { Time: 1, Bob: 5, Joe: 5, Sarah: 6 }, { Time: 2, Bob: 4, Joe: 6, Sarah: 7 } ]); public function doItemClick(event:ChartItemEvent):void { var hi...

order of rows in a datagrid in Flex

I have a datagrid and it lists several rows as seqno | NAME | COMPANY 1 | BOB | D&T 2 | Jenny | M&Y 3 | Jane | D&T It is possible to have buttons as [MOVE UP] and [MOVE DOWN] so that when I select a row in a datagrid and press one of those button that the order changes and the seqno updates accordingly. Meaning if I s...