flex

Probable issues with running flex application/swf in local mode.

Hi All, We are developing client application for our solution. Its a desktop client. We are using flex for same. (Although I know flex is meant for web application and air application is best suited for desktop clients, but due to some build issues we can't go for air applications). Now according to our use case we required to read file...

How to create a dress up game in Flash?

Hi, I am a newbie at Flash/Flex and Actionscript 3. I would like to know how can I create a dress up game in Flash/Actionscript where users can click on (not drag and drop) the available accessories/clothing and the avatar will display with the new selection immediately, and I can save the settings and take snapshot of the avatar in t...

How do i embed a flex grid control in an asp page and pass parameters to the gridcontrol?

I have done a datagrid in flex and would like to embed it in an asp page. How do i go about that?Thank you. ...

Unload module event handling in flex

Hi, I am developing an AIR app. In the main app I have a module loader 'mainModuleLoader'. I am creating modules as separate mxml files using the <mx:Module> tag. And I am loading such a module in mainModuleLoader dynamically using actionscript. Everything works fine. For the module which I am creating as mxml files, I would like to kno...

CSSStyleDeclaration at run time is not working

My Code: var TextStyleDeclaration:CSSStyleDeclaration=new CSSStyleDeclaration(".ImageElement"); TextStyleDeclaration.defaultFactory=function():void { leftMargin=50; } StyleManager.setStyleDeclaration(".ImageElement",TextStyleDeclaration,true); var page_rich_text:spark.components.RichText=new spark.components.RichText(); page_ric...

How do i make some of my datagridcolumns non editable or readonly if my flex datagrid is editable

How do i make some of my datagridcolumns non editable or readonly if my flex datagrid is editable? ...

Spark Scroller in AdvancedDataGrid

Hello everybody! AdvancedDataGrid uses a Halo Scroller as default. How can I change it to Spark Scroller simply? Thanks for your attention! ...

streaming live video b/w air appln and web appln using red5 in flex

hi everyone, http://stackoverflow.com/questions/2113080/how-do-i-record-video-to-a-local-disk-in-air, as in the above url i dont have to record the video but i just have to stream the client live webcam video( who connected in web appln developed in flex ) in air appln to air client. the video of air client published to webclient succes...

TLFX, has anybody used it yet?

Has anybody use TLFX yet? The repository is here: http://code.google.com/p/tlfx/ but I'm not sure it's completed. I tried to compile it but look like some classes are missing. ...

making URL dynamic in dataservices

I have a flex application that displays data from a dataservice. How do i make this parameter dynamic. I want to supply this from a flash variable. ...

Adobe AIR/Flex file upload to a server that requires basic authentication

Adobe reference specifically points this out as a limitation. Here's the note in the file.upload functionality in adobe reference. Note: If your server requires user authentication, only SWF files running in a browser — that is, using the browser plug-in or ActiveX control — can provide a dialog box to prompt the user for a username a...

HTTPService not retrieving current data

I'm using mx.rpc.http.HTTPService to retrieve data from a web service. On the initial call to "loadWsData", HTTPservice accurately retrieves all the data. However, on any and all subsequent calls HTTPService does not accurately retrieve the data; rather it always retrieves the first data set. I've confirmed that the web service is prov...

Flex 3 UITextField Layout Problem

Hi, I'm using Flex 3, SDK 3.2. I'm having problems determining the height of a UITextField. (Unfortunately, I have to use the UITextField because I'm using FlashEff 2.0. Otherwise, I'd use a different component). I've got a UITextfield that is multiline and has wordWrap. The text is pulled from a database, so the length varies. I've g...

Alternative to data binding

As an alternative to binding an array collection to a data grid's data provider, could I assign the array collection as the data provider to the data grid on it's creation and everytime the array collection is updated execute invalidateProperties(); invalidateList(); to re-render the data grid? Does my described approach make sense? ...

Is it possible/feasible to build a large-scale Flex application for free?

I want to create a fairly large-scale Flex web application that has a similar interface style to Grooveshark. When it comes to web development, I have always used the common PHP/HTML/JavaScript technologies. Now, I want to try something new and develop a RIA using Flex. Using PHP/HTML/JavaScript, I am able to develop my entire website...

Search Flex XML object to find attribute when given element name?

Hi I have a Flex XML object as follows: private var _xmlCountries:XML = <Countries> <option value="AF">Afghanistan</option> <option value="AL">Albania</option> <option value="DZ">Algeria</option> <option value="AO">Angola</option> <option value="AI">Anguilla</option> ........ <Countries>; This object is ok, and shows up...

Image flickering in Adobe Flex

In Flex4, I use an Image control. After every 10 seconds, i am changing the image programatically using Timer. But when the image changes, flickering occurs. Is there any method to prevent this? Thanks in Advance ...

Facebook 'secret' value, or Authenticating an app after facebook login / registration

I have an existing Spring application which I wish to also allow users to register / sign in through facebook. The facebook sign-in is working fine, and is currently executed from the client using the Actionscript-Facebook API ( which is essentially a wrapper for the Facebook JS API). However I'm unsure as to what is an appropriate app...

Flex UI testing automation

Hello all, We have a flex based UI whose functionality (eg: login, logout) needs to be tested periodically in IE 7. Manual testing takes a lot of time and hence we want to automate it. EDIT: We dont have the source code of this app uder test so cannot use something like FlexUnit. Is there a way to automate this testing? I have heard o...

HTML tags in Flex 4 Alert using UIFTETextField as the textFieldClass

I'm trying to show HTML tags in an Alert component that can show both LTR and RTL languages. Showing HTML alone is simple (although not trivial), by assigning a value to textField.htmlText Handling RTL and LTR is also simple by assigning UIFTETextField to textFieldClass in the Alert CSS. For some reason, doing both is not working (and...