flex

Flex coldfusion and multiple remote objects

i am tring to load multiple tables on a flex page and cant seem to figure out how to use multiple remote objects. Below is my coldfusion <cfcomponent output="false"> <cffunction name="getVacancies" access="remote" returntype="query"> <cfset var = qRead ="" /> <cfquery datasource="sqlexpress" name="qRead"> SELECT Status, S...

How can i retrive a object from one swf file to another swf file

Hi all I want to retrive one object from one swf file. How can i retrive the object.means i am loading one.swf in main application.the main application is passing one session object so that object i want to retrive in one.swf file how can i retrive that object.. Please help me in this Thanks ...

Keyboard navigation in Flex Datagrid

Hi, I want to implement an Excel like keyboard (arrow) navigation in an Advanced Datagrid in Flex. The docu at http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid%5F11.html states that arrow keys can be used to navigate around cells. However, in my case that does not work. I can only navigate rows up and down ---snip -...

Flex 3: ConcurrencyError using HTTPService

I'm getting occasional ConcurrencyError faults when using HTTPService in Flex 3. I have four HTTPService objects, all configured with concurrency=single. I'm not sure though how to continue to diagnose, as I don't see in the FaultEvent what service object caused the issue, and I can't easily reproduce it on-demand. One feature of my app...

format data grid row color based on two cell value

Hi, I have a flex data grid. It contains two column Maths Mark and English Mark. If Math Mark >English Mark for any row then it will set that particular row color as Green.Can you pls suggest me how to do that? ...

classic asp image upload with flex

Is there a way to upload an image using flex inbuild .browse() and classic asp? So in flex the user picks the image they want to upload, press a button to start sending it. A asp handler then gets the file, uploads it to a folder and then writes the filename in a database. Writing of the filename in the database is no problem. ...

how to change background color of column header for AdvancedDataGrid control in flex

I have below columnGroup in advancedDataGrid control and I want to show the header in red background color and also applied the style but the background color in the header does not show as red only the text color in the header is changed. <mx:AdvancedDataGridColumnGroup textAlign="center" headerStyleName="myHeaderStyles" > .... I ...

Creating a TreeGrid with sortable columns

I'd like to put a TreeGrid in my application so that the columns can be sorted. If you refer to this sample application, you'll notice that if you Open a branch node Sort by one of the columns Close that branch node then the TreeGrid starts to get out of wack and duplicate columns start appearing and other columns start disappearing....

Singleton Class in Flex

I have a doubt,.... How would you create a Singleton class in Flex... Is there any convention like the class name should eb Singleton or it should extend any other class. How many Singleton class can a project have? Can anyone say the real time usage of a Singleton class? I am planning to keep my components label texts in a Singleto...

Flex: XMLList of attirubites.... convert to nodes?

say I have an xmllist like this (but with many other attributes not shown for brevity): <node metal="white gold"/> <node metal="yellow gold"/> <node metal="silver"/> and I access the metal attributes via xmllist.@metal which will give me a new xmllist like this: white gold yellow gold silver I want to convert that to an xmllist tha...

Read data from Java and show it in Flex

Hello folks, well i am a little confused about the use of Flex and java, this is my problem: My java application must read two .zip files from an online server. These classes will load and parse the data in a Thread and perform certain actions depending on such info. The problem occurs when my flex application calls the java method that ...

Flex: Render an unrealized UIComponent to BitmapData?

What is the best way to render to a UIComponent which hasn't been added to the stage? (I'm using UIComponents as renderers for objects, and want to render new copies for image export, filtering, etc.) Two strategies I've seen/used so far include realizing the component to ensure it calls all the lifecycle methods: Add the component t...

How do I create a popup from Flex without a browser toolbar?

Hi there, I'm trying to launch a popup window from Flex, but the popup window needs to have certain properties as one can usually specify with the JavaScript window.open. For example, the popup window should not have a browser toolbar or URL box. I've tried using navigateToURL, which works fine, but I can't find a way to specify the...

Caching of swf files in Flex application

Hi, I've created a Flex application and the size of the swf file is ~900KB. My trouble is that the files are not getting cached. When I launch the application for the second time, the swf file is fetched again from the server. I'm including the swf file in a jsp, and I'm not modifying any HTTP Caching Headers. I assumed that the swf f...

Flash CS3 swf loaded inside flex issue (Bitmap)

I have loaded a SWF which is created in Flash CS9 (AS3). I'm having problem passing Bitmap (or BitmapData) from the flex app to the loaded SWF. Invoking of other functions in the loaded from Flex works, but when I try to pass a Bitmap to the loaded SWF, nothing happens. Here's a sample code: FLEX: try{ var bm:Bitmap = (someEvent....

'style' elements reference for Flex controls ?

is there any documentation link where i can find list of styles applicable to flex controls ? In particilar the AdvancedDataGridControl. like border, border-left,top,bottom,indent, etc like list of all possible style elements. #1: Link provided by Lior below is the complete list. #2 : found this looks quite cool. http://examples.adob...

Fiddler/Firebug for Adobe AIR?

How does one inspect the HTTP traffic in Adobe Air? Obviously because it's running outside of a browser you can't use firebug ... I've tried this link text but it doesn't work either... (nothing shows up in the log). I also don't really want to pay for a program. Any ideas? ...

Php: How to calculate Adler32 checksum for zip?

I'm using a combination of Paul Duncans php ZipStream (http://pablotron.org/software/zipstream-php/) on the server side, for on-the-fly creation of zips, and Fzip (http://codeazur.com.br/lab/fzip/) on the Flex/Air client side. Works fine in Air, but when running Flex in browser, the zip needs to include a Adler32 checksum in the header ...

how to add columns programmatically and set grouping on advancedDataGrid control in flex ?

on advancedDataGridControl in flex3 , how to do the following: 1. Add Columns at runtime ( programmatically ) 2. Specify the column grouping ( programmatically ) 3. set method to be used to show summary row ( programmatically) ...

Flex Localization Issue for Web Service response result

In my Flex Application I am receiving Unicode result from back end ( web service) an displaying it in Flex Label component Eg. Response string = [\u8868\u7af9\uff5eFulfillment~~~~ja] I am binding response to label component When I am displaying it in label its not showing me Japanese character . Storing this information in propertie...