flex

Building Flex Builder projects from commandline

I have several Flex Builder projects which depend on each other (both libraries and "applications", i.e. projects which generate an SWF), and want to compile them from commandline. I know there is the fb.exportReleaseBuild ant-Task, but unfortunately it doesn't work on Linux and only comes with Flex Builder. Is there any other way to bu...

Flex, Problem when jpegencoding two bitmaps in sequence.

I am creating this "drawing application", where the user can click "preview" and it will take what they made, draw a bitmap, and then I want to split that bitmap into left and right images. I create the first bitmap, encode it as a jpeg, and then use that to cut the left and right out using copypixels. I then reform the images together w...

Flex: How can I control the mouseover color for a TabBarButton using spark skins?

I'm trying to get a spark tab bar to have a selected tab that does not change color on mouseover. I'm trying to implement this by working with a skin based on the skin spark.skins.spark.TabBarButtonSkin, but despite turning off the shadows on the selected and overAndSelected states, it still shows a dark color on mouseover. Here's the r...

Setting the WebServiceWrapper endpointURI at run time

I'm in the middle of switching from Flex Builder 3 to Flash Builder 4, and one of the problems I have run into is that support for web services in 4 is substantially different. In both IDE's I am able to import a WSDL for my web service and it will generate the appropriate client classes for communicating with the service. The generated ...

How to access variable in parent component from child component?

I have a public variable set within fx:Script tags in a parent component that I'd like to access directly from a child component. How can I do this? I don't want to pass the variable to the child component (I know how to do this and am currently using this approach). Following is a simplified version of the mxml: Note: SimpleComp is an ...

How to protect credentials during Flex ChannelSet.login?

It has just occurred to me that when my Flex application does a ChannelSet.login, it is essentially sending the username and password over the wire in an unencrypted form to the BlazeDS server. While I use the binary AMF protocol over an AMFChannel, it would take nothing for somebody to sniff these passwords. Most of my clients do not ...

Loop back problem for Laptop

We are developing a video chatting application on flex, it works well on Desktop systems and while running on a laptop the sound is loop backed and becomming a large noise, Please help me to fix the problem. ...

Where is Border component in flex/mx library

I have an old Flex app build with halo library, now that halo library was changed to mx library, it makes old Border component stops working and I'm unable to build project anymore. Even I try to change the library to MX, the Border cannot build. Does anyone know how to fix this? ...

a component in windows live messenger in flex

hi everyone, in windows live messenges the status setting component tht is an icon, label and a dropdown arrow. on rollover it gives u border around the component, how to implement the same in air application using flex. i got this link. http://msdn.microsoft.com/en-us/library/dd570146.aspx but how to implement it in flex? thanks in adva...

Adobe Flex ItemEditor

Hi, I have a datagrid column as follows: <mx:DataGridColumn headerText="Description" dataField="description" editable="true" editorXOffset="2" editorYOffset="2" editorHeightOffset="20" editorWidthOffset="60" itemEditor="com.jono.controls.DgItemEditor" wordWrap="true" /> And a very simple DgItemEditor: <?xml version="1.0" enco...

Data issue connecting from Flex (XMLSocket) to .NET (Socket)

Hi everyone, I'm working on a chat/IM system for my game (which is written in Flex) and wanted to connect it to my server (which is written in C#) via sockets. So, I've successfully connected them together using XMLSocket on Flex, and Socket on the server side, the client gets a connected event, sends data correctly, but when I try to s...

ie9 .... close window, run flex function

I have Flex 4 & an amazon payment button, the way Miti shows here: http://miti.pricope.com/2009/07/11/using-amazon-flexible-payment-system-with-flex/ As he shows, when the payment process is done there is an html button that appears in the popup that calls a javascript funtion. This javascript funtion will close the popup window, return...

Flash compile error 1017

I'm getting this error when compiling a newly created application with SDK 4.1: 1017: The definition of base class Application was not found. I can click on the SDK library path in the Flash Builder Explorer and navigate to the spark->components->Application object. At least one other application linked to the same SDK compiles just f...

Login using Rails Devise and Adobe AMF3

I am trying to login in to my Rails app through an adobe flex application that uses Devise but cannot figure out how to map the AMF request to Devise::SessionsController#New. I tried the following <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="librar...

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. ...

Video conference/web chat using red5+flex4, performance issues on higher res. - how to pinpoint?

Hello. I have performance issues with my test web chat app - video playback is very slow on, around 1 frame per few seconds at 640x480, 15fps, quality: 90. Network usage is low (gigabit LAN), cpu's still have some headroom so it should be the software. Quick description of my setup: red5 0.9.1; simple flash broadcast and subscribe deri...

How to view documents stored in the AIR application in the browser?

Hi, We have an AIR client which talks to a WAMP server. We store documents. One of the customer requirement is: they want to their website users to view the documents stored in the AIR application. It should be a read only access. The users will not have our air client installed on their machines. All they do is to check the customer's ...

Why is object property null?

Below is my class, which simply reads an xml file and provides the contents in e4x format. Unfortunately, after the constructors executes and sets the xmlProperties property with the expected values, it some how becomes null. Anyone know what I'm doing wrong? public class WebService { private var _propertiesReader:HTTPServic...

converting Adobe AIR to Flex application

Hi, We have a Adobe AIR desktop client which talks to a WAMP server. How can i convert this AIR app to a Flex app to be used in the browser. Please let me know. Thanks vish. ...

How can I make a button change it's shape with every click (music button)

I want to design a music button for a game like geochallenge ...