flex

How to use RaVis Library? Some ideas?

I'va been monkeing with this lib : Ravis. It a librari on .swc, someone know how to use or configure this library on NetBeans 6.5? I use Windows XP and Vista! Thanks to all ...

[Flex] Why does a starting + (plus sign) not show up in a combo box of data grid?

I use several controls with combo boxes and data grids, which I fill using a HTTPService which returns some XML. However in the XML there are some telephone numbers starting with a plus sign (ie. +123456). However in the combo boxes and the data grids the plus sign doesn't show (so it would display as 12345646). It doesn't matter if I u...

Add Registered Trademark symbol in Flex

Hi, How do I add registered trademark symbol in Flex? Thanks in advance for your help. ...

Add superscript in Label - Flex

Hi, How do I use superscript text in Flex? I tried sup tag in htmlText, but it doesn't work Appreciate your help. ...

getting the parent value in Flex

private function editForm():void { var event:DepManagementEvent = new DepManagementEvent("Edit Page",true); var navi:String; event.navi = deleteDataGrid.selectedItem dispatchEvent(event); } This function is in item renderer, i need the parent datagrid id to be called here... ...

how to loop over a datagrids rows in flex

I have a DataGrid which contains a DataGridColumn with a textinput and DataGridColumn with a Button. The DataGrid is bound to some XML which displays values in the text box. When the button for a row is clicked I need to get the value out of the text box and save it into the relevant XML node. My solution was just to pass the id of the ...

Recieving variables in Flex.

private function editForm():void { var event:DepManagementEvent = new DepManagementEvent("Edit Page",true); for each(var item:Object in parentDocument.deleteDataGrid.selectedItems) { event.department = item["col3"]; } dispatchEvent(event); } I am able to access the parent datagrid and get the v...

AIR (Flex) vs Java

I am writing a desktop application and trying to decide between using AIR (FLex) or Java. Some of the requirements for the application are: needing to securely connect to web services and JMS have a very interactive UI (lots of little and big features) displaying video Communicate with a C++ application To implement the web service...

RegExp search field for filter function in flex

I have a datagrid and a search field. I've set the change event of the search field to run the filterfunction of the datagrid. I'm able to match the entire term, but I'd like to be able to use a regular expression to do a progressive search (e.g., "Pe" matches "Peter"). I tried to create a regular expression to compare the fields, but I ...

Flex 4: Build a Group with a background

I'm trying to build a simple component extending spark.components.Group to have a background color, more specifically a spark.primitives.Rect component stretched to fill the background. This is what I've come up with thus far: <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="libra...

BUilding Flex project with unit testing on cruise control

Hi, I have a flex application build with actionscript 3 on flex builder with unit testing on it using flexUnit4. I want to build this project on my cruise control and i don't know how? ...

convert java awt applet to flash / flex

what's the shortest path to convert a java applet to flash / flex ? have you any experiences with something similar? please describe. thanks guys ...

Flex/AS3 multiple state itemrenderers question

I have created a module with 3 states as an itemrenderer. The states are called Movies, Songs and TvShows. The base state is empty. The itemRenderer consists of Hbox, Vboxes and labels. And I have created a List component. What I want to do is to populate data in my List component and make it visible using my ItemRenderer. Depending o...

Limit Flex Web App Upload file formats and size (server script PHP)

Hello everyone I have found this great tutorial, about uploading files with a Flex app, using Php to do the server scripting for us. http://hybridhacking.com/tutorials/uploading-files-with-flex-using-php Its great, but i wanted to know what changes should i do at the ActionScript so that only accepts image files, and if possible to li...

Securing .net web services for flex/flash/AIR applications

What would be the best way to secure .net web services used by a flex application (both desktop and browser) that requires login? I thought about requesting the user and password in every method of the web service, and having them stored as variables in the flex app, but I don't feel like this is the most elegant way. suggestions? tha...

The best way to integrate SWF to html page

What html-tags I should to use? May be some JS libs? Of course, better if this will be cross-browser and platform independent. ...

Hide default options in right click context menu in flex

I'm developing a flex application and I want to add it a context menu. I got it with this code: var myMenu:ContextMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var defaultItems:ContextMenuBuiltInItems = myMenu.builtInItems; defaultItems.print = false; var item:ContextMenuItem = new ContextMenuItem("Go to google"); myMenu.customI...

Validate Xml in Flex3 Air

Hi, I am opening xml in air application . i need to validate opening xml(Xml need to have specific node), for this some of them telling there is XSD validation on vb and .net , but i need to know, likewise any validation tool is available in Air ?. Thanks in Advance ...

column resize in flex 3

look at this code (couldn't paste it here it doesn't fit)it represent my real app structure: mxml source code EDIT: the relevant part of the code: <mx:VBox width="100%" height="100%"> <mx:HBox width="100%" horizontalScrollPolicy="off" height="100%"> <mx:VBox width="100%" verticalScrollPolicy="off" height="100%"> ...

movie does not start in full screen in flash video player

We have this legacy code of a flash video player that functions well enough but still has some loose ends I need to tighten up. It can do the basic "switch to full screen and back to normal size" stunts, however with one exception. On the first fresh load of the app, if I switch to full screen mode first, and then click to play the mov...