Stephen's dev blog

Posts Tagged ‘flex

Flex save changes from an AdvancedDataGrid using itemEditEnd

Posted by: Stephen Gray on: 15 September, 2008

I just remembered that I had trouble finding out what I could access with this event handler function. Sure it was easy to find out when the event is dispatched, but how can I access the new field value edited by the user? How do I access the previous value?
So this is just a simple [...]

Flex getting selected RadioButton value

Posted by: Stephen Gray on: 11 August, 2008

This is a pretty simple one but there are surprisingly few tutorials showing the user simply how to get a selected RadioButtonGroup’s value.
There are quite a number of tutorials covering change event triggers for RadioButton controls but this is slightly different.
Say you have a form and you want to process the RadioButton value after submitting [...]

Flex Processing XML response from HTTPService

Posted by: Stephen Gray on: 8 August, 2008

There are a number of tutorials on doing this around the web but I thought I’d write my own tailored tutorial on this topic.
I’m going to cover two scenarios;
Assigning XML results as a dataProvider:
This is by far the simplest of the two:
// The initialisation function
protected function init():void
{
    var serviceObj:HTTPService = new HTTPService();
    serviceObj.resultFormat = ‘e4x’;
    serviceObj.method = ‘GET’;
    serviceObj.useProxy [...]