flex

Flex Double Click Behaviour, isn't it strange or it's just me ?

Hi all, When using double click enable on any component, sometimes i have trouble activating the double click. I realised that if I move between my fast paced single click it will NEVER fire a double click event. If however if I do not move the mouse between the clicks then the double click is fired. Before i start using timer to get ...

Can ASDoc in Flex create documentation for packages/namespaces?

As the title says - is it possible to document my ActionScript packages / namespaces using the ASDoc comments and the included asdoc command line tool? ...

Flex Drag and Drop

Hi I am trying to do a flex drag and drop. It is very similar to this first example. http://livedocs.adobe.com/flex/3/html/help.html?content=dragdrop_7.html The problem is that event.currentTarget.mouseX,mouseY is showing the position where I put the mouse down rather than the position where I had finished dragging. I am just wonderi...

externalinterface - calling javascript from SWF

HI, im trying to call a javascript function from my actionscript code but its not working; as3: if (ExternalInterface.available) { try { ExternalInterface.addCallback("changeDocumentTitle",null); } catch(error:Error) js (inside velocity file using swfobject) function changeDocumentTitle() { alert('call f...

How do I make an item editor in a flex list component commit it's changes?

I have a list component and I have an item editor for the items in the list. I would like to have a button that the user clicks once they are done with their changes because I am having them edit multiple pieces of data in the editor and I would also like to validate the data before closing the editor as well. I just don't know what to d...

What does UIComponent add to DisplayObject?

I am trying to understand the interaction between Flex UIComponents and (Flash?) DisplayObjects... But it's not clear to me what the UIComponent class "adds" to DisplayObject. So, what can a UIComponent do that a DisplayObject cannot? ...

Flex Charting: Only display datatip for specific series?

I have a LineChart that contains multiple series, both LineSeries and PlotSeries, and I have a custom dataTipFunction set for the chart. However, I only want data tips displayed for line series, not the plot series. I have tried returning null from my format function, but that just displays an empty box. I have also tried disable mous...

Flash Media Server: Trouble with recording 2 audio/video streams at the same time?

In short For a project I need an audio/video-chat for 2 people, with the ability to record (part of) the session. I am running into issues where the 2nd user's recorded video gets messed up, with massive amounts of (seemingly) skipping frames and/or audio loss, most likely caused by the audio stream (when not recording the audio, the pr...

MS excel like functionality in web ui with more complexity?

I have swing application in which there is MS excel like functionality. User can enter data in the columns. Most of the columns are drop down lists, so use have to select from the list. Can this functionality be easily built in Adobe Flex or GWT? Second complexity is depending upon what value is selected in a column, another column sho...

Flex 3.2 casting problem

Hi I'm newish to flex an have recently hit a snag casting. this is the code I'm running. /** * return background definition depending on time */ private function findBackgroundItem( relativeTime : Number ) : CSBackgroundItem { if( this.backgroundItems == null ) return null; var result :CSBackgroundItem = null; var relativ...

Detecting if UIComponent has scroll bars active

I have a TileList in flex, and need to be able to detect if the scroll bars are shown or not, so I can change the size of the items it is laying out. ScrollPolicy is set to auto, but I need a variable like CurrentScrollPolicy which will change from off to on depending on the content. Thanks ...

Flex - Change Browser

How do I change which browser Flex uses when I run my project? ...

Datagrid item rendering

Hi All , I was trying to render a html text of some where around 10 strings concatenated together with with in a Datagrigd column . I am able to render it but not to the size of the cell . Im trying to embed this in a HBox and then place it in the cell . But Iam not able to resize to the cell as i see that the HBox is getting shrunk eve...

AS3 Class Function Scope

If I have 2 classes and the first extends the second, how can the second class call a static function from the first? package p1 { class a { static function a1() { //do soemthing } } class b extends a { static function b1() { //do something else } } } a.a1(); /...

Yahoo Messenger API For Flex

Is there an API to implement Yahoo chat in Flex? Or at least some calls? ...

Transparent background for SWFLoader

I created a "Loading" spinner in a SWF. I display this spinner in my main application SWF using SWFLoader. How do I make the SWFLoader transparent? Currently it uses Flex's default background color even though I've set backgroundAlpha="0". My spinner SWF's main MXML: (Note the use of backgroundAlpha) <mx:Application xmlns:mx="http:/...

Flex: No progress bar????

I have been dealing with this for a few months now. My flex apps are not showing preloaders on many users computers. I thought it was because I was using BrowserManager but I have made a few lately without browser manager. It works fine on my machine but then I walk over to the managers machine and load the page and the app is not there,...

Help me understand rails authentication w/r/t assets, like swfs.

I am a rails noob. I am having a problem conceptualizing how assets work in an authenticated system. All of the tutorials I've seen so far talk about putting your swfs in the public folder and embedding them in your view. However, the swf I'm using is a flex gui that should only be used by users logged-in through restful-authentication....

How to transpernt white color to background color of image in flex?

Hi,I have an image and i want to remove white color from image.That removing color is same like its background color.If anybody have any idea of this problem please reply me on [email protected] .And my application in Flex 3 so please send me action script code of this problem.Thank you ...

Use Flash as shell to load Flex app and pass URLVars?

I am having a problem with preloaders showing up in my flex apps. I never had this problem when developing flash apps so I got the idea to use a flash app as a shell with the sole purpose of showing a preloader while the flex app loads. I am not sure how to do this though, and I also need to ba able to pass the FlashVars from the shell f...