flex3

How do I set a header on the request generated by FileReference?

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html How do I add my own request header to the POST requests generated by FileReference.upload()? ...

How do I retrieve cookies from the cookie space used by AMF?

I have a flex app that uses AMF to talk to a Spring Java backend. How do I get the values of cookies that have been set by the server and are being sent back by AMF? ...

Adding Flex capabilities to an existing J2EE Enterprise Application Project

I have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities. I have build Flex/J2EE applications from scratch but can't think of the best way to do this. I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5. Any idea on how to p...

dataGrid columnIndex rollOver event

how to get dataGrid columnIndex rollOver event in flex3 ...

Flash Player 9 vs Flash Player 10 with FLEX 3, ?_method=PUT/DELETE not working???

I have a FLEX 3 frontend that worked fine in FlashPlayer 9. But now that I've upgraded to FlashPlayer10, the ?_method=PUT/DELETE hack is not working anymore. All those requests show up as a POST on the backend now. I did some reading and it sounds like I need to use as3httpclientlib AND run a socket policy server to give access to po...

How to know in Flex when the user has completed resizing the browser window

I need to do some updates to components after a user has resized the browser window. Is there a good solution to determine when a user has completed resizing? I wasn't able to find any flex events that would cover this case. ...

moving event intialization from mxml application declaration to .as file

The question says it all basically, but an example: <?xml version="1.0" encoding="UTF-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:mc="my_components.*" xmlns:custom="swf_address.*" ... deactivate="repeat_end(event); bActive = false" ... initialize="{new Rad_XF(this)}" > What would the syntax ...

flex 3 combobox selected item

Hi, I have a combobox with arrayCollection dataprovider, it selects nothing at start, but i see the first object label as selected, i want to add select text, as first option that selects nothing, just to indicate that the user didn't select an option yet. ...

"Definition mx.utils:Base64Encoder could not be found" in Flex Builder 3

Hi, I'm trying to edit an existing AS3 application (which was built using Flash Develop) in Flex Builder 3. The application uses Base64Encoder (using "import mx.utils.Base64Encoder"). This compiles without problems in Flash Develop but trying to build it in Flex Builder 3 (Mac version) gives an error: "Definition mx.utils:Base64Encode...

How can i work with MS Access (.mdb) database with Flex Air?

I want to show the data in a data grid from .mdb file(MS Access Database) in Flex Air. How can i do this? The .mdb file is in local pc. ...

getting rounded corner of Window in flex application

Rounded corner property of window doesn't work out. I have done the following setting in Windowed Application: System chrome set to none. Show flex chrome set to false. Window Transparency set to false. Now in this scenario how can I make my window to have rounded corners. Anyone can help? ...

Set Custom Mouse Cursor in flex.

Hi guys, following is my flex 3 code. [Embed(source="SizeNESW.png")] [Bindable] public var cursor:Class; private function mouseOver():void { CursorManager.setCursor(cursor); } here what i am doing that there are four corners above the image for resizing purpose. and i have a single image for cursor. i want to use th...

border for each submenu item on rollOver using flex3

hi, i would like to add border around each menuitem and submenu item in the menuBar component using flex3. thanks in advance. akki ...

flex flexlib windowshade opened state maintain

Hi, I have flexlib WindowShade component in repeater in my Flex + AIR application. <mx:XML id="mainMenuXML"> <items> <item value="abc" /> <item value="xyz" /> <item value="lmn" /> </items> </mx:XML> <mx:VBox width="100%" height="100%"> <mx:Button label="Button" click="button1_clickHandler(event...

flex select value from Combo

hello experts My goal is to create a generic function that selects a value in a combobox accoring to a value. (My comoBox holds arrayCollection as dataProvider.) The difficulty is infact to get a propertyname in runtime mode public function selectComboByLabel(combo:ComboBox , propetryName:String, value:String):void { var dp:ArrayCo...

Flex Library to do toaster style notifications?

I'm building an Air app and one feature I need is toaster style notifications in the bottom right corner of the screen. Before I go ahead and start writing my own toast controller, does anyone know of an existing library for such functionality? I'm looking for something which will just manage displaying, hiding and stacking of toast noti...

Flex serializationFilter changes POST to GET

I am having he same trouble as the stackoverflow question Flex prevent URL encoding of params with HTTPRequest. I need to pass parameters to an HTTPService that have name/value pairs like: params["entry.0.single"] = lname; The '.' characters in the name get URLencoded and are turned into %2E as seen from Firebug. The solution to the ...

Problem in Printing AdvanceDataGrid

Hi, I'm trying following print routine to print my advancedatagrid control ( with grouping enabled ) but few columns are not coming in a single page, they are appearing in another page. Here is my code, private function doPrint():void { // Create an instance of the FlexPrintJob class. var printJob:Flex...

Flex: Embedding fonts at runtime only works locally?

I'm trying to change the text format in a TextField I get from a .swf. I'm embedding my font in a myFont.swf: public class TemplateFont extends Sprite { [Embed(source='../fontFiles/geogrotesque/Geogrotesque-Regular.ttf', fontName='theFontName')] public static var FONT_TEXT:Class; } Then I'm loading it where I ne...

Displaying List of flex progressbar using itemrenderer

Hi all, I want to create a list of progress bars and update the list accordingly. I have group data in an Array as <mx:Array id="arr"> <mx:Object label="Group One" min="0" max="200" currentValue="60" /> <mx:Object label="Group Two" min="0" max="300" currentValue="50" /> </mx:Array> The values in the array object in...