flex

With a Flex ColumnChart, is there a way to center the datatip over the column

I'm using a Flex ColumnChart with a custom dataTipRenderer. I'm able to apply a nice skin with the dataTipRenderer, but am not sure how to move the datatip to be centered. Is there a way to have the chart center the data tips over the column instead of the normal top-right alignment the chart does? Instead of: |tip text| ++...

Is there a way to set TCP_NODELAY to Socket.flush(), NetConnection.call() or sendToURL()?

I'm writing a real-time app using a Flex/Flash client and my own server running on Linux. I'd like to be able to send data from the Flex client in real time (in response to user actions). I've tried the following methods: flash.net.NetConnection.call() flash.net.sendToURL() flash.net.Socket.write() followed by flash.net.Socket.flush()...

Get unique System ID with Flex

Is there a way to get a unique machine-specific system ID in a Flex application rinning in a browser, so that is can be used for example to determine if the machine is properly licensed to run the application? ...

Does Adobe AIR work on linux ? how do i install because linux does not support exe format

I am beginner so have some doubt about Adobe AIR. How do I install my AIR project in linux, or mac os because my project out .air(execute file).os does not support execute file ? Does it support multi language in Adobe air? And one more, how can I embed css not use an external css file? Does it support live streaming video in deskto...

action script 3 and custom image itemrenderers

Hi, I have a custom item renderer which displays a different gif in the row depending on data value from the data object. When i set the image source url using the absolute path and not embedding it works fine however when i embed the images i find that when i scroll up and down the grid the images get messed up and sometimes sit on top...

how to match something with regExp between roundbrackets

I have this: var regExp:RegExp = new RegExp("((.*?)%)"); and want everything between the ( and the %) the string looks like this: (-24%) I now get a return back "(-24" and have searched for a long time to find a solution but didn't find any. ...

AS2 .swf loadmovie() and unloadmovie() fail when nested inside an AS3 .swf container

I have an AS2 .swf being loaded as a child of a parent AS3 .swf. The AS2.swf calls loadmovie() and unloadmovie() to display 3 jpeg files. The images load the first time, but after that, a call to loadmovie() to replace the image, or a call to unloadmovie() fail. I found the following Adobe Bug report (https://bugs.adobe.com/jira/brows...

Flex Air HTMLLoader blank pop up window when flash content is loaded

I have a flex Air program that loads external content with the HTMLLoader. Now for some reason whenever I load a page that has any flash content a blank system window pops up outside of my program. It's completely blank, all white with min, max and close buttons. If I close it any flash content I loaded stops working. For the life...

Importing a SWC for a Flex Project in Flash Develop

Hi Everyone, I just started using flashdevelop for flex apps (I had been using it for pure as3 projects previously). I can't figure out how to import files and such. I have included them to the library as usually. In this case I have included flexlib.swc and flexmdi.swc. Both are in my lib folder and both have been right clicked and Adde...

How do you remove the border of a Flex 4 TextArea Component (spark themed halo)

With the Flex 3 SDK you simply needed to set the borderThickness style to 0, or set borderStyle to none. With the Flex 4 SDK ad the Spark theme, this has no affect. ...

Set Flex component width to 100% at runtime?

If I am creating say a input field through MXML, I can set the width to 100%. But I cannot seem to do this at runtime through ActionScript. This works: <mx:TextInput ... width="100%" /> This wont compile, says width is a number, not a string: var textinp:TextInput = new TextInput(); someContainer.addChild(textinp); textinp.width = "...

Flex Component Lifecycle with Menus - best practice

I have built a multiplage application in Flex with different user roles. I use a View Stack with a Menu Bar to navigate between the different pages. However - each time a page gets opened, I need to do some database calls, apply User Role settings, etc. in an init() function. This init function may reference some UI elements of this pag...

tabIndex fails in an AS3 swf loaded into a flex app

I feel like I'm missing something really simple here. I'm loading a AS3 swf containing a form (created by one of our designers) into a flex app. The swf's tabIndex properties work fine when the swf is viewed by itself, however, once it's loaded into the flex app: <mx:SWFLoader source="form.swf" top="20" horizontalCenter="0" id="formSwf"...

menu bar control in flex ,needed to handle separate method for individual menu item.

Hi, i need to fire separate method for individual menu item clicked ,so that individual item can handle separate method. and i need know what all the properties are available in menu item like type="radio". <mx:MenuBar id="jj" labelField="@label" itemClick="MenuItemClick(event)" x="23" y="228"> <mx:XMLList> <menuitem l...

How to update adobe air application after install ?

how to update air application after install in system . updated not be reinstall will be automatically ? is it possiable? ...

Array not iterable if associatively used

Hi when I have an array in actionscript var arr : Array = new Array(); arr["fsad"] = 1; trace(arr.length); and now put an entry to it with an associative string and afterwards count the length I get a length of 0 but why? How can I iterate it now? Thanks in advance Sebastian ...

Question on session

Once i login, a new session is generated.... how can i later know for which login the session is generated. I am getting the session value, but how to know for which user the session is all about and redirect him to that page. ...

Am I stupid for not using custom packages in Flex 3 (flash)?

When I create a new class file in Flex 3 it warns me that I should not use the default package. I personally never used packages before, but think that packages won't make things any more easier since I just want to be able to use all my classes everywhere without importing all kinds of packages which I would have to remember the names ...

Flex / actioncript - Screen DPI

Hi, Is there a way to get the screen dpi ? I have tried Capabilities.screenDPI but it is broken, it always return 72. Any Ideas? Many Thanks. ...

Flex/.NET: Simple chat application using FluorineFX

I'm trying to create a very simple chat application in Flex/.Net using FluorineFX but can't get it to work. <mx:VBox width="100%" height="100%" xmlns:mx="http://www.adobe.com/2006/mxml"&gt; <mx:Style source="../../../Monkeywrench.css"/> <mx:Script> <![CDATA[ import mx.controls.Alert; import mx.rpc.events.FaultEvent; impor...