flex3

Flex 3 loading background color

During loading of a Flex 3 built application, it always shows this blue-grayish background color. I've tried a handful of tips, building preloaders etc, and all that works, but even before the preloaders kick in, that blue-grayish color is displayed. I've tried lots of ways to change it, like editing compiler options, setting background ...

Datefield changes to 2069 or 1970

Hello, I have a datefield in flex with editable="true". When I type: 20-1-69 and I go to another field, it changes into 20-01-2069. but I don't want it to change into 2069. Is it possible to turn off this automatically change thing? Thanks, JSMB ...

page control in flex(like php)

Hi, I'm new in flex. I have a design like this in one page have two option like this Hard & soft when i click hard(option) there will show three option(in php got to another page) like standard, square & pocket and in the page below BACK(when click this option it will back previous state(page)) option will be show When mouse over o...

How create a Flash custom button and use it in Flex

I'm using Flash CS4 and Flex 3.4.0. I'd like to create a vector-graphic button in Flash and use it in Flex. I'd tried to install the Flex Component Kit, but it won't add me the 2 commands I need for the conversion as stated here. Anyone has seen/dealt with this problem before? ...

Adobe Flex - LinkBar font size does not appear to change!

I have a LinkBar which is linked to a viewstack. However, as I change the fontsize of my LinkBar, when I run it, the font size does not change at all! I've tried changing the font using CSS and it doesnt change the font size! Any ideas? Here is the code: <mx:Canvas x="0" y="0" width="30%" height="100%"> <mx:Label x="10" y="10" text...

Persist row order in Flex AdvancedDataGrid

I have an AdvancedDataGrid that I allow the user to drag/drog the rows to reorder them and also allow them to sort on columns. I want to save the row ordering so that the next time I load up the data, the row ordering is preserved. I have a bindable array collection to the data grid. The array is a collection of a custom AS object. I...

Change Titlewindow close button

I'm working with Flex 3.4 SDK. I need to change the default close button image from a TitleWindow. So what I'm doing is defining a CSS selector, like this: TitleWindow{ close-button-skin: Embed('assets/close.png'); border-color: #FFFFFF; corner-radius: 10; closeButtonDisabledSkin: ClassReference(null); closeButto...

Adobe Flex App page file usage going through the roof!

I have been working on an Adobe Flex application for some months now, and the application is meant to run 24/7 for days (weeks!) continuously. However, I'm now seeing that after a few days of running nonstop the computer it runs on tells me that the system is low on virtual memory and gives me an error about Page File usage. Once I clo...

Find the total bytes used by a bitmap in Flex.

If I load a bitmap using a loader in Flex, I can use the loaderInfo.bytesTotal to get the size, total bytes used, of a bitmap. If I create a bitmap in run time, how can I find out the size, the total bytes used, by that bitmap. Please advice. Thanks ...

EventListener to watch for number of itens in DataGrid

Hello everybody. I'm new to Flex, but I've been exploring it with Flex Builder, and its pretty good. Indeed the best for fast building of Web based Apps... I'm trying to do something with eventListeners, but i still do a lot of messy code, so wanted help of those who already know flex. I'm have a DataGrid, and its itens are added b...

How to halt execution in ActionScript

Is there any way to halt execution in ActionScript, such as a sleep() method? I know that there is a setTimeout() method, but setTimeout() just sets up an event for deferred execution. ...

Zooming effect on datagrid cell with an image in the itemrenderer

Hi all, I am not able to figure out how to zoom the image displayed with the help of an item renderer.If i apply the Zoom effect on rollover ,the particular cell zooms the image with the scroll bars.Is their any other way of doing this without showing the scrollbars. ...

ArrayCollection Objects to String - Problems with "for each" loop.

Hi guys. This is related to other question. But never mind it. I've fixed part of it. I have a DataGrid, its data provider is a ArrayCollection, and i want it to parse all itens in it (Object Type) to a String. For that I've done a "for each" loop, it manages to get the Object and its values, but if i have more that one object it only...

Why is the auth_key parameter empty?

I've created a flex-based application and uploaded it to vkontakte. For some reason the auth-key parameter (at the flash vars) is empty, how come? Here is a link to the application. EDIT: Here is my application tag inside the site: <embed width="607" height="590" flashvars="api_id=1549899&amp;viewer_id=47745507& amp;viewer_type=2&amp...

How to simplify adding multiple text inputs

i have an application in which i have around 100 textinputs all are numbers i want to simplify the addition ie. any other way than saying txt1.text+txt2.text..... that would increase my code a lot is it possible to have (n+=txt*.text) or some thing like that any help would be appreciated have to get the application done in two days ...

A VBox with only one rounded corner and gradient background

I'm working with Flex 3.4 SDK. I'm trying to programmatically(yep, must be this way) style/skin a VBox so that its top right corner is rounded, and it gets a two colors gradient brackground. Modifying examples I found around I was able to accomplish both effects(corner and background) but only separately: VBox with not all rounded co...

Flex 3 : "&lt;1" yr from Xml list is not comming on Y Axis in bar chart

I have a xml source like this <TS val="2005"> <DP y="75-79 yr" l="-114.9" r="108.6" /> <DP y="&lt;1 yr" l="-13.9" r="11.8" /> <DP y="&gt;85 yr" l="-117.5" r="104.0" /> <DP y="70-74 yr" r="39.2" l="-33.1" /></TS> In FlexBuilder 3: the chart Y axis is not showing the value for "&lt;1 yr" where as others are coming like "&gt;85 yr". So ...

Css file edit and update ,Flex3 Air

Hi, i need to read css and access individual styles and its properties,and i need to update the css file . at present i can laod css by URLLoader and get all styles using the StyleSheet.styleNames; but its get only stylename but i need to get all the properties , so that i can update the style and save as css file, If you have an...

Flex 3 - How to read data dynamically from XML

Hi Everyone, I'm new at Flex and I wanted to know how to read an xml file to pull its data into a chart, using Flex Builder 3. Even though I've read and done some tutorials, I haven't seen any of them loading the data dynamically. For example, I'd like to have an xml like the following: <data> <result month="April-09"> <vi...

Flex Drag & Drop: Detecting when all data has been moved from source to destination

I have two mx:TileList controls that I'm using to allow editing of objects in batch. The first contains a collection of all available data, and the 2nd contains the current batch. Both are bound to ArrayCollections, and using the native drag-n-drop functionality of the TileList control the data is moved from one ArrayCollection to the ot...