flex3

Filling Flex Application background with pattern?

We are trying to fill our Flex 3 applications background with an image pattern by repeating the pattern throughout the background. The pattern is a very small "bulleted"-background. The Flex App seems to just stretch the image pattern even though we've specified in the CSS the following: Application { background-gradient-colors: #...

Flexbuilder 3 Install under Linux

Solving this problem would make my life a hundredfold easier, because working in Windows XP blows, and save for this one Adobe POS, I would be working entirely in Linux. The Flex project I'm trying to build can be built successfully on Flexbuilder 3 Pro (licensed version, 3.2 SDK) in both Windows XP and Mac OS X. I followed these instr...

Why I can't add itemRenderer on AdvanceDataGrid's column ?

Hello, I'm trying to add itemRenderer on ADG's column on conditional basis. My code is as follows, var columns:XMLList = XMLList(xcCols); var cols:Array = new Array(); //Loop through each column and build column based on xml configuration for each (var column:XML ...

how to calculate the xmldata?

Hi, i'm getting the xmldata from the httpservice (using cgi) and i have not set resultformat(it is coming as an object only),the xml data in this format <root> <employee name="xxx" age="xx" gender="xxx"/> <employee name="xxx" age="xx" gender="xxx"/> <employee name="xxx" age="xx" gender="xxx"/> </root> when i was tried to count the emplo...

How to load and run a Flex3 SWF inside Flex4 or vice versa?

I am interested in understanding how to run a Flex-3 SWF inside a Flex-4 SWF. My Flex-4 host app looks like this: <?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" minWidth="...

Diffrence in Ant and Flex builder builds ?

In my application build on Flex 3.2 SDK I am calling a swf of Application built in Flex 4 SDK. and I am using Local connection to transfer data to and fro from that swf. When I am building my flex 3 application using Flex Buulder then everthing works fine. i.e. The swf generrated runs fine and also loads(using swf loader) the Flex 4 swf...

Runtime problems after migrating from Flex3 to 4 in compatibility mode

We are migrating our Flex-3.2 application to Flex 4.1, mainly to take advantage of the new text flow/engine features. In a first step we decided to go with compiling for MX-only and in Flex-3-compatibility mode. Thanks to some helpful resources ( http://www.adobe.com/devnet/flex/articles/flexbuilder3_to_flashbuilder4.html http://stack...

Hiding the content pane in a Flex Panel

I am writing an custom component in Flex 3.2 that extends the panel component. After a user performs a certain action I would like to hide the main content area in the Panel component, as well as the Control Bar if one is specified. Any ideas on how to do this? controlBar.visible does not seem to hide the control bar, and I don't know...

Flex 3: How do I get the DataGridColumn's dataField in its ItemRenderer?

I'm trying to reach the dataField of a DataGridColumn in the itemRenderer. Below is the dataGrid: <mx:Script> <![CDATA[ [Bindable] public var weeksOfMoth:ArrayCollection = new ArrayCollection([ {monday:30, tuesday:31, wednesday:1, thursday:2, friday:3, saturday:4, sunday:5}, {monday:6, tuesday...

Error when converting a site from Flex 3 to Flex 4

I'm moving a Flex 3 site to Flex 4, but when I run the application, it attempts to download a .swz file from Adobe, and gives the following error: *** Security Sandbox Violation *** Connection to http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz halted - not permitted from http://localhost/Fl/CityGIS/main.swf Er...

How to override child node controls in a Flex Tree control

Hello, I am currently developing a dynamic LineChart in FLEX 4. I am implementing a Tree control next to my LineChart, which will filter the LineChart dataprovider and lineseries. The tree control has several branches and ultimately 5 children (leaf nodes) at the bottom of the last branch. I need the leaf node/children to be displayed ...

dispatch events between two advancedDataGrids

I have two separate advancedDataGrid instances (let's call them A and B). What I'd like to do: when clicking on grid A I'd like for grid A to handle the click normally (i.e. default advancedDataGrid behavior) for grid B to receive a click event a certain location and handle such event using advancedDataGrid default behavior (i.e. with...

How to get value of selected checkbox ?

Hi, Here is my code running from change event of the checkbox, var ch:CheckBox = event.currentTarget as CheckBox; Alert.show(ch.data.toString()) But unable to get selected checkbox value. It's returning [Object][Object]. Even I tried valueOf() but no success. What am I missing ? ...

Question about FilterFunction of ArrayCollection

Hi, I want to filter ArrayCollection based on multiple values ( or array ). For example, My sample array "myArray" has four values; Active, Close,Returned and Submitted. My code looks like, sampleData.filterFunction =doStatusFilter sampleData.refresh(); public function doStatusFilter(item:Object):Boolean { var i:int; va...

Error invoking servlet, but other resources get loaded - Flex + Java Application

Hi, I have written a RIA using flex for the front-end and Java servlet for the back end which actually makes calls to a web-service to do some processing. The welcome page is a html page which is served from the web-logic 8.1 server that the app is hosted on. The welcome page loads and the flash content loads. Even a 'xml' file contai...

TabNavigator not showing children

I have a TabNavigator component which is not showing its children when adding them at runtime. Is there a way around this please? I'm doing the following at the moment: var tabNavigator:TabNavigator = new TabNavigator(); // etc. parentHBoxContainer.addChild(tabNavigator); // etc. // Custom component with nothing special in it //...

Flex AdvancedDataGrid - remove default data sorting/shuffling

I have this AdvancedDataGrid you can view at http://rtistique.com/foo/ to view the source, right-click -> view source It displays a simple ArrayCollection private var dpFlat:ArrayCollection = new ArrayCollection([ {Region:"Southwest", Territory:"A"}, {Region:"Southwest", Territory:"B"}, {Regio...

How can I speed up the compilation speed of Flex?

My Flex project have 6 sub projects . How can I speed up the compilation speed of Flex? ...

Sorting in AdvancedDatagrid in Flex 3

Hi, I am using in-built sort functionality provided by AdvancedDatagrid. I have multiple columns and suppose I have 10 rows. All 10 rows have the same data in one column. If I sort on that column, then it sorts and the data in other columns which is different is also being sorted (reshuffled). My requirement is if I am sorting on a ...

Flex web application gets progressively slower and freezes

I have a Flex web application where I am visualizing data (for different countries) in the form of charts. The data is in the form of CSV files. There are individual files for individual charts i.e. one file has all data pertaining to one chart for all countries. I have a left navigation menu that allows one to see data on a country by ...