flex

Refresh datagrid

I have datagrid. the source for this datagrid is a url that returns n number of rows in json format. i want to save this result in an array and show 20 records in the grid at a time. and cycle to the next 20 records in a time interval. How to do this? pls help. Somethings i tried created a httpservice and mapped it to a datagrid -...

Flex/Flash: Is there an alternative for BlazeDS?

Hi guys, Do you know any free alternative for BlazeDS? It's working fine here, but we're looking for alternatives to check wich one is better. Thanks ...

combobox perfoming different formulas based on user selection

I have a datagrid where users put in different numbers for 3 different columns. These values are then calculated after the user puts in each value for each column. I also have a combobox component inside my datagrid. What I want this combobox to do is perform a different mathematical formula based on what the user selects. For example, i...

Date issue in Client(Flex) and Serverside(JAVA) issue

Hi, I have a date porblem in flex applications. while submit the date in flex applcation (28/09/2010 10:00:00 AM) as a string, the date is cobnverted in to Date object inserver side and displayig the result. But i install the server in other location (Ex:- USA) .Now i am passing the date from india(28/09/2010 10:00:00 AM) But the date...

Dynamically databinding radiobuttons to an arraycollection in Flex

I have an arrayCollection with strings in them, is there some way I can databind a RadioButtonGroup to the array collection? As we can do for combo boxes var cBox:ComboBox = new ComboBox(); cBox.dataProvider = arrayCollection; There is no RadioButtonGroup.dataprovider property. I know this has to be done manually, what is the most eff...

Develop an online multitouch scrumboard | Flex or Silverlight?

My company want to develop an online multitouch scrumboard for our scrumteams. We are still in doubt between flex and silverlight as platform for the application. (don't want to fire a hole new flex vs. silverlight discussion again) Installation rate & platform independence are not critical to us, because it's just for teammembers and on...

display scroll bar with flash.text.TextField

is there a way to display integrated scroll bar with flash.text.TextField from FLEX There is issue with SCOLLV+=1 so its not an option. ...

how can i sort dd/mm/yy date format in datagrid using flex ?

i used array collection sort method like below . but still sorting wrongly . Any other solution for sort date using flex3 public function SortingDate(ArrColl : ArrayCollection, field : String) : void{ var sortA:Sort = new Sort(); sortA.fields=[new SortField(field,false,true,null)]; ArrColl.sort=sor...

Flex 4 - Create states and add elements at runtime from actionscript

Hi, I wanna add dynamically (at runtime) new states to a container and, to this states, add different elements (like TextInput, Label etc.). This must be done from actionscript, I don't use any mxml file. I can add states and change properties or styles for different elements, but I didn't figured out how to add child elements for diffe...

Flex 4 DateChooser

Hello. I have an Array of days. I want those days to have a different background-color in the DateChooser component, say red. How can I do that please? ...

How to get path to flex element through a browser?

Is there any plugin for any browser which can tell me the pass to certain flex element? I mean, I have a flex frontend. And I need to find the full path to some element, like /topLevelPanel/innerPanel/checkbox[0]/img. ...

[FLEX] difference between <s:Line> and graphics.lineTo()

If I skin a button and use the AS3 graphice.clear() and graphics.lineTo and beginFill to create a shape, the button overlaps other items in the container. When I use the and mxml to create the same shape, the button is neatly positioned inside the container. Why is that? ...

Setting the RowCount and ColumnCount in a Flex 3 TileList

Hi, I'm using the TileList in a Flex 3 website. I need to set the rowCount and columnCount to factors of the total number of items in my array. For example, let's say that there are 15 items in my array. Then, I'd like to set the rowCount to 3 and the columnCount to 5 (3x5=15). Or if I had 16 items in the array, then I'd like to set the...

Flex networking: How to read multiple AMF Objects

Hi there, I'm trying to write a very plain game client to get some practice with Actionscript 3 and the Flex Framework. I have some problems with following code: private function readResponse():void { var r:ByteArray = new ByteArray(); readBytes(r); while (r.bytesAvailable != 0) { try { var d:Object = r.readO...

3-D engines in flex

Hi, I just wanted to know if there are 3-D engines available for flex other than PaperVision? Just out of curosity.... ...

How to remove row from datagrid?

I have a datagrid from which I'd like be able to remove rows at will. Below is the component item renderer I'm putting together in order to achieve desired result, but there has to be a better way to access the data provider of the "parent" data grid. Anyone have any ideas/suggestions? <?xml version="1.0" encoding="utf-8"?> <s:MXDataGri...

How to Set the Visibility of an Item in a TileList to False

Hi, I've got a tileList in a Flex 3 website. I want to programmtically turn off the visibility of a tile. So for example: <mx:ArrayCollection id="myAC"> <mx:Array> <mx:Button id="first" label="1" /> <mx:Button label="2" /> <mx:Button label="3" /> <mx:Button label="4" /> </mx:Array> </mx:ArrayCollection> <mx:Til...

Flex 4 Run/Debug Path - How to use Macro/Variable there?

Let's say that I want all my programs under a flex project to go to a new url, with the name of the program's html and swf as variables. Now, normally, it's going to hardcode Foo.mxml to a URL of: file:///local/wherever/project/bin-debug/Foo.html But I want it to go to: http://localhost/elsewhere/?a=Foo.html?b=Foo.swf Now, I can do...

Flex: How to Reference What's Been Clicked When Using an ItemRenderer?

Hi, I've got a Tilelist and I'm using an ItemRenderer, which is a Button. I don't understand how to reference what was clicked. So, if the first tile (which is the first Obect) is clicked, how do I know that that particular one was clicked. <mx:ArrayCollection id="myAC"> <mx:Array> <mx:Object id="first" label="1" /> <mx:...

How to position label on Flex BarChart independently of any bars?

I'm trying to add a label at the bottom, or just below, a (horizontal) Flex 3 BarChart, as follows: a |==== : b |= : c |== : label (The equals are the bars of the bar chart; the colons represent a target line for which I want to add a label.) There seems to be no straight-forward way to position this label at the botto...