flex

How can I allow the user to type a TAB character in a Flex TextInput control?

I want to modify the Flex 3 TextInput control to accept a tab character as valid input (The app allows the user to enter an arbitrary delimiter string for file output formatting, and tab is a common use case). However, clearly in the default implementation the tab key changes the form focus away from the selected control. What I want, ...

InvalidateSize without screen flash?

Here's the scenario: I wait for a creationComplete event to occur for an mx:Text object at which point I can access the setTextFormat method of its protected member textField. (textField is not valid until creationComplete.) At that point the text formatting done through textField.setTextFormat increases the height of the text. But t...

Disable TextArea ala Facebook when clicked outside TextArea

Hi I have a textArea and a Button - I want the Button to disappear when the user clicks anywhere in the app window EXCEPT the "Send" button <mx:Button x="306" y="168" label="Button" id="btn" click="Alert.show('Button clicked')"/> <mx:TextArea x="138" y="146" focusOut="btn.visible=false" focusIn="btn.visible=true"/> I tried calling bt...

Drill Down in flex DataGrid

Hi, I want the flex dataGrid to implement a drilldown effect.The data to the datagrid is obtained from a xml file.Can anyone help me out in this. TIA ...

Can't understand the exception in Flex?

I was trying the flickr code provided in the learn.adobe.com website, and I am getting this exception: [RPC Fault faultString="Error #1090: XML parser failure: element is malformed." faultCode="Client.CouldNotDecode" faultDetail="null"] at mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()[C:\autob...

Flex 4 app behind proxy server w/auth fails to call webservice when launched from IE (firefox ok)

I have Flex 4 app which is deployed in internet. Just as an intro, when i'm behind our corporate proxy server, IE and firefox asks for username and password when accessing external websites. WHEN BEHIND PROXY In IE (i tested only in 8) Flex app starts fine, but it fails to invoke webservice - CallResponded result or fault event doesn...

flex3 highlight the datagrid column

hi All, How to highlight the data grid column? Thanks. AravindakumarThangaraju. ...

Filtering in flex AdvancedDataGrid using input text

Hi, I have a advancedDatagrid with column headers having input text boxes for filtering.The column is filtered according to input text when I use characters as data inside that column.But when I use numbers in the column field,filtering does not happen.Can anyone tell me what went wrong. Any help would be appreciated. TIA ...

Consume AMF methods without Flash using .NET

I would like to know if it is possible to consume a AMF Service using .NET. I would like to consume a AMF service written in PHP using my ASP.NET Application, that is possible? ...

Adding newer Flex SDK to Flex Builder 3 - how?

Hi, I have a Flex Builder 3.0.2. It was shipped with Flex SDK 2.0.1 and 3.2. I would like to add the new Flex SDK 3.5. I followed the documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=build%5F6.html#162812: - extracted SDK 3.5 - added into my SDK list - set to default - restart Flex Builder - clean project But it's...

How to change text area scrollbar skin?

How to change text area scrollbar skin in flex 4 ...

Remove slashes from sqlite

Hi I am creating an application in Flex that uses an embedded SQLite database. The data in the database contains quotes and other special characters which are escaped using a backslash or '\'. Before I retrieve the data and render it in a Flex text area control I want to remove the '\'. Is there any function in Flex which can help me d...

How do I add XML data into an local XML file, so I can read it later.

I want to save XML data into a XML file. So I can load it on the next startup. ...

Why do I get no error on calling HTTPService.send when there's no connection to the server?

I have a wrapper around a HTTPService which handles the RESULT, FAULT and INVOKE events that may be triggered by the send() method. I have verified that the correct event handlers are called on successful requests, HTTP errors (e. g. 404) and on invocation. I'm testing against a Jetty running on localhost. When it's turned off, i. e. my...

Develop games with pure actionscript or adobe flash cs4 professional

Hi, I want to develop a simple race car game. A user will see his car from above and can use right and left arrow keys to navigate in the track and between other cars. What is the correct way to develop a game? Do I use pure actionscript with FlashDevelop or the Eclipse plugin? Do I use Flex3? Is it better to use adobe Flash CS4 Profes...

How can I automatically scroll a VBox when an item is drug near the top or bottom edge?

I have a VBox containing a bunch of panels. I have implemented dragging and dropping but I need to be able to scroll automatically when the item is drug near the edge. I am having mixed results. I can get it to work, but not well. My example is below. It works if the user bounces their mouse around a little near the top or bottom edge, b...

Polygons problems with degrafa

Hi everyone, I have a problem with degrafa's polygons. I've created 4 polygons to reproduce a picture frame, they all looks the same, I just change their coordinates and angle. the bottom one : <Polygon data="{parentApplication.original.height},0 {parentApplication.widthSlider},0 {parentApplication.original.height+parentApplication.wi...

Glossy buttons in Flex 3

Any ideas how to create a button class that looks something like this: Taken from this tutorial page. I'm struggling to figure out what combination of filters I need to use to achieve the glossy effect. The rounded corners and bevel/glow effect are simple enough. But how can I add a gloss gradient over only the top half of the button...

Flex circular ripple effect

I am wanting to create a circular water ripple effect in Flex. Does anyone know of an example, source code, or have a general idea of how they would accomplish this? ...

programmatically stream audio with NetStream

In Flex you can stream microphone audio to an FMS/Red5 server using NetStream.attachAudio, which requires a Microphone object. Is it possible to stream audio through the NetStream from somewhere other than a Microphone? For example, from a file/embedded resource? The reason I'm asking is that I'd like to be able to run automated tests...