flex

A way to keep DataGrid in same scroll position after update?

I have a custom <mx:DataGrid /> that is updated with data from a ColdFusion server every 60 seconds. I've noticed that every time the DataGrid updates and redraws the scroll position is reset to the top. Is there a way I can preserve the scroll position for my DataGrid? Thanks in advance. ...

Can i make a pivot like application using Advanced Datagrid?

I want to capture the header click event and on click , i want to split the columns ,by adding the AdvancedDatgridColumnGroup dynamicaly at each level.Is it feasible? Atleast help me with capturing the header click event.Please do not suggest OLAP .I want to explore the advanced datagrid option more. <mx:AdvancedDataGrid x="6" y="4" id=...

Flex DropdownList CreationComplete error

Hi All I have a DropdownList that shows a list of providers & the Provider associated with that Patient must be selected. The Dropdown list: <s:DropDownList id="providerList" width="80%" fontSize="12" fontWeight="bold" selectionColor="white" creationComplete="providerList_creationCompleteHandler...

menuBar submenu shaddow

How to disable the shadow on submenu in mx:menuBar component? ...

Flex tree view with wrapped text on nodes

Guys, I've spend hours searching for a way to put one paragraph of text in one tree node in Adobe flex. How can I do it? I created a simple tree view but the text is cut after the right border. So I tried to create a tree renderer. In the renderer I specified width=100 and the text wrapped. But the height of the nodes was not being cal...

How can I make sure the IMXML gets included in an Actionscript project?

I am using Flex Builder for an Actionscript which apparently has a dependency on IMXML object. I'd never heard of this object, and there is nothing on the project site about any dependencies. I assume it's a Flex component library, though. Which library should I include in order for this program to resolve its dependency issues? Thanks ...

Create a Flex4 component to have the typewriter effect in text

How can I create a Create a Flex4 component to have the typewriter effect in text , like shown here ...

Adobe TLF and HTML

Hi, What is the best way to convert a tlf markup to HTML? I want only standar HTML without the old font tag. I think I saw a utility created by someone for this, but I can remember where it is. any ideas? Tks. ...

Prime examples of data-binding

I am implementing a barebones framework in JavaScript that just provides data-binding between objects. The data-binding can either be one-way or two-way, and potentially have multiple objects bound on some property. There are several data-binding solutions available for various languages and I am trying to get a good idea of the best of ...

Draw on CartesianDataCanvas item that larger than the chart

Hi Community, I want to draw on a Flex AreaChart. This AreaChart has an AnnotationElement that is an CartesianDataCanvas. When I draw some items on this CartesianDataCanvas, the chart looks good when the item fits inside the chart. But when I draw an item that is bigger than the chart, the chart automatically resize and try to fit my it...

flex invalidation mechanism

Adobe help document said, "When a component calls an invalidation method, it signals to Flex that the component must be updated. When multiple components call invalidation methods, Flex coordinates updates so that they all occur together during the next screen update." So what does "next screen update" mean? I am confused about the inva...

Flex 4 Skin:Specifying state for an attribute in script

I'm trying to create a button skin, where i can set fillColors like in a Flex 3 button, using CSS. It was easy to set the color of the gradients, by reading them from the CSS: adding a few lines in updateDisplayList: fillGradient1.color = fillColors[0]; ... How can i set the colors for the other states, from script? I tried adding fil...

Flex 4 detect if user presses enter key

Hi, The secnario is simple if the user presses enter while in the password field, I would like to submit the login for for processing. How can I detect that event from with in the specific text box. Thanks in advance ...

Change background color in spark VideoPlayer

Hi, is there any way to change the black in background in the VideoPlayer component that comes with Flex 4 ? I can change every color but i can't change the black in background. Thanks ...

How Do I dispose of a Class Instance in Flex?

I have a menu, each time you click on an item it opens up a screen (a new flex component), when I click back on to the screen I want to dispose of that particular instance, is there an easy way to do this? ...

How to create a dynamic form?

I want to create a form consisting of checkboxes that is based on data stored in a database and accessed via a RESTful web service in JSON format. Furthermore, some of these checkboxes will need to be pre-checked, based on other data stored and accessed in the manner described above. From what I understand I can use a repeater to create ...

Remove child content from ViewStack in Flex 4

In my example below, when I click "Add Content", new stack content is loaded into the ViewStack as expected. But when I then click "Close Content", I'm expecting it to close the newly created content inside the ViewStack and switch to the "defaultContent" content. Can anyone tell me where I'm going wrong please? Thanks in advance. // T...

Need some hint on desing a dynamic chart showing wavelength(s) for element

Hi there. I have a very interesting challenge here for my Flex project development. I now have an experiment wizard which consists of three states.In the first state,the user selects the elements they are interested from the periodic table. When it comes to the second stage,now we have the elements that the user selected in the first ...

Flex custom style (skin)

Hello. How can I modify standart style of progress bar controll? ...

Flex Binding ComboBox to XML children

Hi All I am having some problems with my data binding and I hope somebody can help me. I have created a really simple example for what I am trying to achieve, which you can see below. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center" verticalAlign="middle" ini...