flex

FlashBuilder 4 and Zend Framework error

I am trying to use adobe flash builder 4 with a php service. I had it set up an older macbook running leopard, but just tried to set it up on my new laptop running snow leopard. I did all the same steps.. set the Flex Server to be PHP, set the web root and url. Then I go to Data->Connect To PHP and point it to a php file I have in my ...

Flash CS5 MAC input textfield problem

I'm developing external Flash Panel with Flex Builder 3 which can be opened through Window > Other Panels. While using that panel it opens more .swf windows as popup dialogs. Some of those windows contain input textfields. Those textfields have some character restrictions. The problem is that when viewing those popups only in MAC and onl...

As3 printing problem, blanks swf after print or cancel

Hey all! ok back at another issues in as3 printing //Function to print entire screen function printFunction(event:MouseEvent):void { var myPrintJob:PrintJob = new PrintJob(); var oldScaleX:Number = root.scaleX; var oldScaleY:Number = root.scaleY; //Start the print job myPrintJob.start(); //Figure out the new...

Flex: How do you list private attributes of a class?

Hi, I try to serialize objects with their private attributes, in Flex. The introspection API does not seem to allow it: "The describeType() method returns only public members. The method does not return private members of the caller's superclass or any other class where the caller is not an instance." Is there another way for an insta...

GraniteDS vs BlazeDS which one is more use than the other ?

Since i'm begining to discover this world, I'm wondering which one of those is more use on professional developpement. Would you be kind enough to tell me in order to make some stats ? ...

Pasting non-text data into browser-based apps

Imagine I want a user to be able to copy-paste a selection of pixels from MSPaint into a browser-based app. Is this possible using JavaScript in any current browsers? Will it become possible in HTML5? If not, is it feasible using something like Flex/Silverlight, or is it simply not possible at this time, and you'd have to save a file and...

how to embed php with flex

I want to make a software in which few part of interface should be displayed in php and few part in flex then how i should do this ...

How to update automatically data from datagrid in flex2?

Here is the problem: I have datagrid binded with data acquired from web service which, as you may suspect, retrieves data from some db. Datagrid has some editable columns and I want to update db through appropriate web service call without adding button "Update" as a last column in datagrid. How can I do this? Is there any event which...

Flex XMLListCollection sort on nested tags

Hi all, I have a requirement of sorting the <ename> in the XML with in the branch. The XML goes like this: <company> <branch> <name>finance</name> <emp> <ename>rahul</ename> <phno>123456</phno> </emp> <emp> <ename>sunil</ename> <phno>123456</phno> </emp> <emp> <ename>akash</ename> ...

Flex 3 - Image cache

Hello Community. I'm doing an Image Cache following this method: http://www.brandondement.com/blog/2009/08/18/creating-an-image-cache-with-actionscript-3/ I copied the two as classes, renaming them CachedImage and CachedImageMap. The thing is that I don't want to store the image after being loaded a first time, but while the applicati...

How do I enable a Text class to accept html text and will I be able to calculate height and width?

When showing the html I would need to know the height of the text box in order to align things below it properly. ...

Transparent image - overlap

In my Flex application there's a swf file with some functionality like for example mouseClick and there's an image with transparency which I want it to go on top of that swf. The problem is that the image is covering over any functionality... Is there a way to be able to integrate with swf file on those transparent areas of the image? ...

How Do I Set XML Content-Type in Flex 3?

Hi, I've got a Flex 3 project. Flex makes an ExternalCall to some Javascript. The Javascript is then turned into XML. But, my xml isn't parsing in IE. It works in all other browsers. I think that the problem is that I haven't set the XML's content-type and IE doesn't like that. So my code looks like: myReturn = '<myXMLReturn>' + my...

Add icon on spark button skin

Hello all I am trying to add different icon on different buttons. I have my skin file ready but not sure if I have to create different skin class for different button. It sounds inefficient. Any suggestions? Thanks for the reply... <s:Button id="pass" width="110" height="35" fontWeight="bold" fontSize="12"...

how to give hyperlink in flex

i have source code of flex as below:- <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:MenuBar labelField="@label"> <mx:XMLList> <menuitem label="File"> <menuitem label="New" /> <menuitem label="Open"/> </menuitem> <menuitem label="Edit"/> <menuitem label="Source"/> ...

Flex 4 Keeping Data Providers In Memory

I am working on a modularized Flex application, and I am trying to cut-down on the amount of client-server interaction. Every time a module is opened, a request is made to a web service to get values to bind to the Flex form. If a user closes the module, and then reopens it at another time during their session, the same web request wil...

Flex Richtext control with background color support

I would like to highlight some text within a Flex control (changing the background color of a particular section of text). The Flex htmlText property supports extremely limited html, and therefore does not appear able to do this. Is there an alternative control that is capable of doing this basic task? ...

Will I Have a Problem Upgrading from Flash Player 9 to Flash Player 10 for my Flex 3 Site?

Hi, I've got a Flex 3 project that targets Flash Player 9. Should I upgrade to target Flash Player 10? Will I have problems if I do so? Can I simply change which version I target in preferences, or is it more complicated than that? -Laxmidi ...

How can I force a tree itemrenderer to redraw during a drag and drop operation?

I have a tree control with a custom item renderer. The item renderer has different states that should be set while an item is being dragged over the item renderer. I understand from reading this post http://forums.adobe.com/message/2091088 that the 'right way' to do this is to override the 'getCurrentState' method and append some text. I...

How do I programmatically trigger a mx:Button click event?

Consider the following mx:Button: <mx:Button click="doSomething()" id="myButton"/> Is there some way to programmatically emulate the user clicking the button? One obvious way to do it would simply be to call doSomething() which would give the same end result as clicking the button. But I'm specifically looking for ways to emulate the...