flex3

JavaFX, Flex and not default languages.

Can I write programs in JavaFx or Flex with other languages (not ActionScript and JavaFX Script) like in Silverlight? ...

flex context menu clipboard item clear

Hi, I am using context menu using the code given below in a flex air application. For me all Context Menu Clipboard Items are working fine except "clear". Plese suggest me where I am wrong. var cMenu:ContextMenu = createContextMenu(); private function createContextMenu():ContextMenu { var editContextMenu:ContextM...

Checkbox label disable

I created a samble checkbox: <mx:CheckBox label="checkbox"/> Is there any way to disable checkbox state changing when clicking on it's label? Checkbox should change is's state only when i click [V] but do not change state when i click it's label ...

submenu under linkbar option.

Hi All, Is it possible in flex to create submenu under linkbar option. if yes then please show me the solution. Thanx in advance.. ...

Error after upgrading Flex SDK: "{ expected "

After upgrading the Flex SDK from 3.1 to any newer version of the SDK and trying to compile an existing project, the following error appears in the Problems pane: Description: { expected Resource: (shows project name, not a specific file) Location: line 15 Any ideas how to solve this or where to start the bug hunt? It looks like the p...

Flex app with large number of UI objects == slow?

I'm building my first Flex custom component, in Flex 3. It is a data table based on the 'Grid' container class, with a simple text Label in each cell. (DataGrid and AdvancedDataGrid were not appropriate starting points for my needs.) The component works quite well using smallish tables, but I tried stress-testing it using a larger table,...

Need Help With disabling backspace key to prevent the previous page from loading in FLEX

<mx:Label text="SAVIO"/> <mx:ComboBox focusEnabled="true"></mx:ComboBox> <mx:Button label="Button" focusEnabled="true"/> <mx:Script> <![CDATA[ import mx.controls.Alert; private var t:TextField; private function init():void { ...

how to scroll two text boxes with single vertical scroll bar in Flex 3?

how can i scroll two text boxes with single scroll bar? ...

Flex/Java application

I want to build a website that uses Flex/Flash as the GUI, and Java for the business tier, all to be deployed on Glassfish. Not having done this before, I am wondering how the overall development/build process works. Flex has an IDE, and I am wondering would I also develop the Java part of the application in the same IDE? Or, do I make...

Export Video using Actionscript

Hi! Here is what I am trying to do: A user will launch my flash application from my website. When they do, it will ask for permission to use their webcam and then display the image coming from their webcam in my flash application. Then, they'll be able to see themselves in the flash application on my site through their webcam. What ...

'Pre-measuring' Flex Components

I'm implementing a custom Flex component that provides a scrollable viewpoint onto a (possibly very large) data grid. I'm using the ItemRenderer pattern, such that I only have UIComponents for the elements visible on the screen at a given time. In other words, something similar to the standard DataGrid control. One requirement I have is...

Creating bindable classes from WSDL for Flex 3

Two of our apps are web applications with a Flex 3 front end and a SOAP-style WCF back end. To communicate with the back end, I generate web service client classes through Flex Builder 3. Everything's functional, but maintaining those generated classes has been quite annoying, and I'm looking for a better way to do things (without havi...

In a pure Actionscript 3 project, is there any reason to use Adobe's Ajax Bridge over the ExternalInterface class?

I am writing a pure actionscript 3 application in Adobe Flex. I want my application to be exposed to scripting in a browser. It seems that there are two options: Adobe's Ajax Bridge (typically used with a Flex application that uses mxml?) and Adobe's External Interface class (flash.external.ExternalInterface). Is there any reason to u...

Futura font in Flex application

I'm developing a Flex application and wish to use Futura font to render text. My dev OS is Windows and so unlike Mac, the font does not come standard with the OS. I have downloaded and tried several different versions of Futura fronts from various websites but they give transcoding errors such as "Unable to transcode FuturaMDBold.ttf". ...

How to use Actionscript to specify Flex "fit to content"

Flex Builder defaults some components to "fit to content" if you don't specify a set width or height. I'm trying to fill a mx:Tile component with Actionscript, but the layout has some strange spacing when I don't specify the width of a component I add to it. Is there a way to set the components to "fit to content" using Actionscript? ...

Must be a simple mistake I'm making: Flex CSS style not working in a trival case

I must be making a simple mistake (new to Flex). Here is main.mxml: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#ff0000"> <mx:Style source="/testing123.css"/> <mx:Canvas top="0" bottom="0" left="0" right="0" styleName="bg-lowl...

Bindable combobox - selected item/index

I am trying to bind a datagrid item to a combox, so that when the user selects the item in the datagrid the form displays the selected data for editing, however one of my items is a combobox using a dataprovider. I would like the item selected in the datagrid to match the selected item in the combobox, this part is fine however if my da...

Flex Drag and resize

Hi All, I need to draw Line, Circle, and rectangle by mouse drag on canvas and then i need to to move and resize the drawn shapes. How i can perform this in flex as i am new on this platform. Please suggest me the method or refer any example with source to make it understand to me. Please Help. Thanks in Advance. ...

Flex drawing example error

Hi All, I am new to flex and i am trying to run the code for flex drawing application example given at following path: http://www.flashcomguru.com/components/flex_whiteboard/whiteboard_demo/srcview/index.html But I get the following error at the compile time: ''Unable to locate specified base class 'Whiteboard.WhiteboardManager' for co...

Flex vertical sliding thumbnails

Hi All, Is it possible to construct an vertical sliding thumbnails of images. The example is shown at following path: http://www.rburman.com/#a=0&amp;at=0&amp;mi=2&amp;pt=1&amp;pi=10000&amp;s=1&amp;p=0 As i am new to flex Please suggest the solution or refer to any example with the source code. Please help. Thanks in Advance. ...