flex

a question about flex preloaders

Hi, I'm moving to a pure as3 environment into flex and I have a question about preloaders. For one of my apps in particular when the swf loaded I would add a screen with an animated preloader. Then at a particular point in my code when I know all of my xml has been parsed, UI built and all initiliztion done I dispatch a "done" event wh...

How can i change task bar icon of application using mdmzinc3.0 in system

Hi, I have developed a flex application with zinc3.0 software (Desktop version).in this application when I change from outlook (any application in windows) to zinc application (.EXE) task bar icon is showing by default zinc icon. According to my requirement I need to change zinc icon to my own icon in taskbar how can I do that? In zinc p...

Adding a sortcomparefunction to Dynamic Data Grid in flex

Hi, I am trying to create a dynamic datagrid in Flex 3, I have a list of columns a list of objects which correspond to datapoints for those columns which I fetch from a url. While the grid works perfectly fine the problem is that sorting on the columns is done in lexical order. I am aware that this can be fixed by adding a sortcomparef...

Flex-Flash frontend for Wordpress

We all know what Wordpress can do with a little bit of css goodness. I was wondering whether the idea could be extended even further and make a completely separate Flash/Flex frontend for a website, that uses Wordpress in the back. That would certainly be possible. I was just wondering whether its practical. Any progress on the topic ? ...

Flex Date Time Axis Not showing Correct Values

<fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <fx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var stockDataAC:ArrayCollection = new ArrayCollection( [ {date: "2005, 7, 27", close: 41.71}, {date: "2005, 7, 28", ...

Flex 4 / Flash 4 Add to Current State

I am having a little difficulty working with states in Flex (or Flash) 4. Lets say that my application has three states; the default (base) state, state 1, and state 2. State 1 should always be based on the base state, that's easy enough to accomplish. However, I would like state 2 to be based on the current state (either base or stat...

Adding Radio button to Calendar in Flex 3

I'm trying to make a Calendar which can have radio buttons embedded in specific dates, which will be chosen by making a service call, but that's not a problem. I have had two approaches to it so far, one could be taking a datagrid, and making it a calendar, and then placing the radio button inside the cell using an item renderer. The sec...

Flex DataGrid reads a field from lastResult.node as number

Why does Flex 3 DataGrid read a string from XML lastResult.node as number? A field is saved as var_char in mysql, php reads it as string and pass it OK. If there are more then 16 charaters it gets rounded.... For example: this in database cell: 12345678901234567 gets read in DataGrid as nubmer as 12345678901234568 this is in database ...

Structuring System Architecture in a Flex Web Application on a Budget (w/o Java)

I started a project a while back using the following architecture from Adobe Developer Article talking about Creating marketing platforms in Flex. I did my first set of coding locally forgetting that my server did not handle Tomcat. So I said okay, and cut some corners and then some other limitation came up and I cut some more corners. ...

Flex 3 Close UrlLoader throws exception

I am trying to simulate a 'HEAD' method using UrlLoader; essentially, I just want to check for the presence of a file without downloading the entire thing. I figured I would just use HttpStatusEvent, but the following code throws an exception (one that I can't wrap in a try/catch block) when you run in debug mode. <mx:Application xmlns:...

Flex Can't interact with button in itemrenderer

I have a list with a itemrenderer. When I put a button in the itemrenderer I can not interact with it. If I rollover the button the list item rollover is triggered but not the button's rollover. I can't click on the button either. You can see below I have a click event set in the itemrenderer and it is not called on click when I run ...

URLLoader IOErrorEvent.IO_ERROR downloading symlink

I have an Adobe Air app that serves as a download manager. It downloads files that are available via HTTP as well as FTP URLs. I discovered an IOErrorEvent.IO_ERROR downloading symlinks via HTTP. I tried specifying an alternate FTP address and it worked fine. I assumed it was because of a security setting in Apache. It is desirable for...

Handle the Flex Repeater when the result length equals 1

Hello, I'm using the flex repeater to show some components in the screen by xml. When the xml returns only one result, I don't have the index of the array, so I cannot access the object. How I can handle this? Tks. ...

Flex 3 - Issues with textArea "editable" property

Hello Community! I'm having issues with the property "editable" of textArea control. I have a component: OrderView.mxml and it's associated data class OrderViewData.as. Orderview.mxml is inside a viewStack to enable navigation from a component to another. In this particular case, OrderView.mxml is called by another component: SearchR...

use AMF instead of JSON on iPhone? (for web services)

Although iPhone support JSON natively, AMF is a binary protocol and it supposes to use much less bandwidth. Do you think using AMF is a good idea? Just found this AMF library in cocoa (Objective-C): http://github.com/nesium/cocoa-amf/ Here's the famous benchmark that shows AMF is smaller and faster than JSON + gzip in Flex: http://www...

Will flex 4 work with flex 3 projects?

I can find a version of flex 3 since the release of flex 4. Will flex 4 work with my old project files? ...

Flex 3 ColumnChart: dynamically changing the column colors

When using a ColumnChart created in Flex 3, how can I to change the fill color of columns that meet a certain criteria? Example: I have 8 columns representing agreement percentages between groups of people and want to change the fill color (or otherwise highlight) of all the columns that have over 80% agreement. ...

Flex Menu Flickering

I am updating MenuBar dataprovider xml dynamically, but each time xml is updated the menu is flickering... Is there any way to avoid this... I am using MX::MenuBar in Flex 4. ...

Sharing variables between mxml components

I have several mxml components in an app, all of which need the same variable called genericX. I've included that variable in the main mxml and made it public [Bindable] public var genericX:Number = 102; but I still can't access it from other mxml components. If I try to do this for example, it doesn't recognize the variable. <s:But...

How to handle SOAP response in FLEX 3

SOAP Request<?xml version="1.0" encoding="UTF-8"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt; <S:Header/> <S:Body> <ns2:deleteDataView xmlns:ns2="http://ws.$$$$$.@@@@@.####.com/"&gt; <identifier>5</identifier> </ns2:deleteDataView> &lt;/S:Body&gt; </S:Envelope> SOAP Respons...