flex

Flex Remote Service Verbose Mode?

Is there a way to display or log verbose communication DURING a remote service call with flex? In particular is there a way to get very detailed information about the service call while it is happening. Kind of like tracing HTTP headers from a command line. Basically, getting insight into the server transaction before the result or fault...

Flex CSS properties?

Does anyone know of a handy master reference list of all the various CSS properties available for skinning Flex? Basically a single reference of all the style properties and their definitions and usage examples in skinning. Stuff like close-button-up-skin: Embed("assets/buttons/close.png"); close-button-over-skin: Embed("assets/butt...

Custom Images for Items in a Flex Item List

Hi I want to have custom images with in a Flex List, so I want to have a selected image, hover image and normal image. I have tried many different ways I cannot seems to get it working. The closest I have got is to use a custom image renders with a button within the itemrender, even then -selectedUpSkin doesnt work, you can see it is ...

Flex Datagrid Query

Below is part of my code interacting with data grid...! This lists the children of the particular node if i click on it after refreshing the datagrid.. But if i click on an empty space of the datagrid i get an error saying "ReferenceError: Error #1069: Property data not found on mx.controls.listClasses.ListBaseContentHolder and ther...

How to databinding between custom component in AIR application ?

In my Main application I used label (like id=firstname) so we can use in main used firstname.text for databinding. But I have created canves custom component and load in main application using viewstack. In canves custom component how can I Bind label(id=firstname). I tried: var username:string = firstname.text but not show undefine f...

Does localConnection in flash player randomly fail sometimes?

I have two flash movies communicating with each other using localConnection, passing an object from swfA to swfB. This seems to work fine, but will occasional fail. The only information we have is that the status event is fired with a level of error, there is no other information. Once a connection has failed it will continue to do so...

AdobeTV: Working with Data in Flex by James Ward - empWeb example in Flash Builder Beta

Hi, from video on AdobeTV I tied to play with example empWeb (LiveCycle Data Services). In Flex Builder 3 (FB3) all works fine. When I tried this on Flash Builder Beta (FB4) it don't work. When I replaced original xmlns declarations (2009, spark, halo) by declarations from FB3 (2006) it works. Could you explain why ? Thanks juro2 ...

How do you know when flash movie has finished playing in a flex container?

I have loaded an swf into a flex application. It's been made a source of an control. I set the source of the image during the application's execution, upon setting the source, the movie plays, but I would like to know when it completes playing. Thanks. ...

How to improve datagrid perfomace when using itemrenderer withing datagrid ?

For poor performance reasons, the DataGrid will cache checkboxes and reuse them for different rows. If you have 50 rows, it won't create 50 checkboxes. It will create as many checkboxes at are visible, plus a few more for padding, and then reuse them as you scroll. This is why you need to explicitly manage their state. How can improve i...

Horizontal Label on DateTimeAxis dissappears sometimes after changing data, why?

I'm working with an Adobe Flex project and I have data I'm plotting against a DateTimeAxis (X-axis) but because there are a lot of points, I have to do some manipulation and remove some objects in the array (I do this by copying data to another array, removing items, then copying the new array into the original array). However, sometime...

Flex 3 keyboard event handling

I'd like to arrange things so that I have a chain of keyboard event handlers in my flex application, all of whom are queried when key down events occur. Basically, when a visual component is on screen, it is a candidate for handling a key press event. Something like this (clearly this is pseudocode): <application handles_keys="F5, F6"...

Java/Flex ORM/DTO Generation Tool

Is there a tool out there that I can point at a Java DTO (Data Transfer Object) and it generates a corresponding Flex/AS Domain Object? Vise-Versa? I'm using BlazeDS for my DataService over an AMF line. Thanks. ...

How does one smooth an image used as a control skin?

I'm embedding an image like this: [Embed(source="/tool_deleteUp.png")] private static const c_deleteButton_styleUp:Class; I'm using it like this: _removeButton = new Button(); _removeButton.setStyle('upSkin', c_deleteButton_styleUp); When I rotate the button, the image doesn't scale smoothly. I know the tricks one uses to scale an ...

get url from URLLoader?

Is there a easy / good way of getting the url from the URLLoader object? It seems at least two other people (this guy and this this guy) have wondered the same thing. Maybe we can get an answer here on s.o.? ...

Creating a Flex Panel header with a gradient

I need a white box (I'm using a Panel because I'm so close, but it could be anything) with all four corners rounded, and the top portion of the box needs to have a gradient that starts out one color (let's say Grey) and ends up as the background color (white). The gradient does not go down the entire box. The top two corners must remain...

Unable to communicate with Javascript from Flex after dymanically loading a swf.

Hi, for some reason, whenever I dynamically load a swf on a $(document).ready() by writing to a div, I am unable to make javascript calls to the browser. Specifically, all calls to the browser return "null". This does not occur when embedding the swf normally on the page load, but I would like to prevent loading of the swf until a specif...

configuring error messages in flex application

Hi, I'm trying to create a Flex based internet application with an EJB layer in the server. This layer provides the XML used by the flex application. It uses the Cairngorm architecture. Currently, on an error I call the handler function defined in all the command files. How can I centralize this? My idea is to create a XML file that co...

how to add effect to menubar items

Hi Greetings, I'm currently working on Menubar ,with dynamic xml in Flex 3.0.Here i want to provide an Zoom effect to each menubar item.But i'm finding difficult. Can anybody tell me how can i do this.Tell me how can i manipulate the menubar items. Thanks in advance, Do reply, With regards, Ashwin jiwane ...

Bundling PHP MySql with Flex to be given to a client

I made an application using Flex,php,mysql. Now to give it to a client, I am bundling this flex application with xampp. There are few problems with this approach : 1. Whenever the flex application runs, an xampp window also opens up. 2. The Apache port number, which I am giving to the client is fixed. Same for mysql port number. What...

How to receive the events from an ActionScript 1/2 swf in a flex swf?

I was trying to load an flex-built swf into a swish-based movie and FAILing, doing some research led to: (AS1/AS2 and AS3) run in different "virtual machines" within the Flash Player. Like many product upgrades, AS3 based SWF's can load AS1/2 based SWF's but AS1/2 can not load an AS3 based SWF. ActionScript 3 is a tota...