flex3

How to find click event on grid item and group by item

Hi, I've advance datagrid with grouping enabled. I want to execute piece of code when gird item is clicked and some piece of code when category is clicked in group by mode. I'm not able to find appropriate methods. ...

flex advanceDatagrid with radiobutton issue

Hi, I am using Advanced DataGrid of Flex 3 with hierarchical data and also i added tile list as a item renderer in another column in that tile list i added radiobutton as item renderer if i change the radio selected value the hierarchical tree sould expand if the scroll bar will come the radio button value is changing <mx:AdvancedDa...

flex text control background color is shown fainted

Hi All, I have my web application, in some part of it I am using a text control in a VBox. When I change my Monitor's color system to 16-bit, the background is shown for the text control having VBox background color fainted. Any help? ...

How to access a property of my custom component through the getChildByName Method

I have written a piece of code where I have created a custom class containing some of my custom properties.I have used multiple instances of this custom class in my main class and added it to a container.Now I need to access one of my custom property in the main class through container.getChildByName()."custom property", but I am not ab...

Flex datagrid binding

I have a Flex app that shows a datgrid with a list of artist names(from my mp3 collection on my hard disk). When I click on a chosen name, the datgrid becomes invisible and another grid becomes visible. I want this new grid to show all the songs I have from this artist. The data for the first grid is in an xml file (names only). The song...

how to configure Flex with Java.

hi friend, I want to configure flex with Java.I have to create the project in which flex UI and JAVA serverside code.can any one tell me how to configure flex with Java using eclipse editor. thanks in advance............... ...

Display HTML text in the Spark TextArea

The Below code is running well... <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" > <fx:Declarations> <mx:HTTPService id="httpRSS" url="http://www.petefreitag.com/rss/" resultFormat="objec...

Flex 3 Webservice Request (setting value in the request from text field)

I have basic web service and I’m having problems sending proper request. If I send only text in the elements on the request the call is successful, but if I try to get value from text field and send in the request the value isn’t sent. I’m not sure why this is happening. Here is the code: import mx.rpc.events.ResultEvent; private...

FLEX - Getting local file path after using FileReference.download()

Hi all, I have a server and a flex client. The flex client uses FileReference and download() to download a file ( .txt) from the server. After the download is complete, I want to open the downloaded file. How can I get the path that the user decided to download the file to? p.s. SELECT event and COMPLETE event do not contain this in...

PopUpButton with TileList and custom renderer

Hello, I have prepared a simple test case for a PopUpButton opening a TileList with black and red entries and it mostly works, but has 2 annoyances. I've searched a lot, tried several variants (added [Bindable] members in my renderer; added color member to the bids array; created my public override set data() method; ...) and has bee...

Add '+' sign using Flex NumberFormatter

I want to format a number with the '+' or '-' sign attached to it. When i tried with the useNegativeSign=true, it gave only '-' sign. I want like this : +13%, -12%, ... Thanks in Advance, Cheers,PK ...

Problem using itemRenderer method of AdvanceDataGrid

Using following code, I', trying to render item in advance data grid but it's not working. What's wrong with the code ? if(col.headerText=="Status") { statusItemRendererFactory = new ClassFactory(Renderstatus); col.itemRenderer = statusItemRendererFactory; ...

How to get the number of items in Datagrid

I am using Datagrid control in flex. I need to get the count of number of items in that Datagrid. What is the method to get that? ...

How 2 resolve my Expand & Collapse effect or do u have any other solution 4 this collapse and expand

Hi, According to my project when i click on the image it should expand and again clicking on the same image it should collapse and there should be multiple number of images near by, but none of them should overlap or merge, i have to implement it on my canvas so any one please help to find the solution for this or please tell me another...

Flex: How do you apply a style (from an external CSS) within the init/constructor of a custom as3 component?

Hi I had a custom MXML component, that I have converted to a pure AS3 component that extends Canvas. I took the stylings i.e. alpha, color etc. from the MXML and added them to a .css file under /src/assets/. My question is, how do I apply these styles within the custom AS3 component i.e. constructor or init()? I read that you declar...

Making DateTimeAxis with weekly labels set ticks on an arbitrary day of the week

I'm using a CartesianChart with a DateTimeAxis to display weekly data in a Flex application. When I set dataUnits="weeks" and labelUnits="weeks" on the DateTimeAxis, it automatically places each major tick on a Sunday. However, I would like to provide users with the option of beginning the week on a Sunday or a Monday. How can I ask the ...

most rational way to drag popup menu in flex

In my app I currently have a popup menu implemented as a BorderContainer with a lot of buttons, textfields, date pickers, etc. PopUpManager handles its appearing and disappearing based on some UI events. I'd like to be able to drag the container by clicking on any part of it minus all the components on it. In other words, when I click o...

Is it possible to call a function in a parent component from a child component in Flex?

I need to call a function located in the parent component and make the call from the child component in Flex 3. Is there a way to access functions in the parent component from the child component? I know I can dispatch an event in the child and add a listener in the parent to call the function, but just wanted to know if could also dir...

How to apply String functions in Advancedatagrid itemRenderer

Is it possible to get right of "~" char in advance datagrid column ? I've tried itemRenderer property but no success. For example, I want to remove all repeated occurrence of "102.Dangerous Flora" and just to keep right of "~". ArrayCollection is set as data provide for the grid. ...

How to move component in circular path in flex?

Hi, I want to move flex components(image) on circular path for my application.Is It possible? If SO please send a sample for this? Thanks in advance.... ...