flex

Debugging Dictionary in eclipse flash builder plugin

I've noticed that when debugging using the eclipse flash builder plugin, one cannot drill in to the key set / values of a flash.utils.Dictionary in the Variables view. Even after selecting the "Show Logical Structure" button. Does anyone else run into this issue? Is there anyway I could see the see all of the keys / values when debugg...

Strategy for supporting international keyboards in Flash/Flex

I have an Flash/Flex application that is showing weird behavior when used in conjunction with international keyboards. For example, I have extended TextInput in this app to allow for special behavior when the user presses the hyphen ('-') key. When this happens I want the text of the input to be padded with zeros in addition to the typ...

Accessing a java method in a flex object

Assume I have the following java class public class Square { private Long id; private double sideLength; public void setSideLength(double sideLength) { this.sideLength = sideLength; } public double getSideLength() { return this.sideLength; } public double getArea() { return sid...

Flex Barcode Component for Barcode EAN 128 with Application Identifiers

I am looking for a flex component to generate a barcode similar to the one below. See Image http://img.skitch.com/20100716-g4456feuw8af1b1q6i1p2kj3tt.jpg I have found a similar plugin, at flex2.bsi-scs.com/BarCodeDemo/index.php. But could not replicate the Application Identifiers by just using the "( )" Does anyone have any insig...

flex - flip down digits display, like retro clock?

I want to display a number in my app so that the digits are styled like a retro-style clock, where each digit looks like a flippable tag (e.g., http://net.tutsplus.com/tutorials/html-css-techniques/learn-how-to-create-a-retro-animated-flip-down-clock/). I don't actually require any animation or effects. Does such a component exist in a...

in flex 4 using action script how to check whether callResponder receive any result or not

I am trying to developed one flex 4 appliction using action script 3.0 and php. In which on button click i want to check whether the callRespoder receive any result or not from php function ,but it's not working as actally as i want.It's work only on when i click on the button twice. flex Application code: <?xml version="1.0" encoding...

convert .fla file to .swf on linux

hello, i'm totally new to flash and action script, here some action script code, for capturing images from webcam (from here): var cam:Camera = Camera.getCamera(); var video:Video = new Video(640,480); video.attachCamera(cam); video.x = 20; video.y = 20; addChild(video); import flash.display.Bitmap; import flash.display.BitmapData; ...

Binding ArrayCollections of Arrays

Hi there! I've been kinda stuck in trying to organize data and bind them to a Repeater in one my applications. What I did at first, was to save an array of arrays, so that I could've accessed any value very easily. But then I realized that I needed to bind them to a Repeater, so I had to switch to an ArrayCollection of arrays. But the Bi...

Handling depth with Flex 4

I have a code in Flex 4 like this <!-- START >>> middle part: items --> <mx:Canvas id="itemContainer" width="100%" height="100%"> <!-- START >>> Items Display on the page --> <mx:Repeater id="richTextReapeater" dataProvider="{_model.current_day.richTextNotes}"> <components:RichText...

flex <mx:List> is hidden by other UI component

In flex UI, my <mx:list> can not be shown completely because of other component shelterring (for example: the refresh button shelter part of it ). How can I make the <mx:list> in front of all other UI component. This is my code: <s:HGroup verticalAlign="middle"> <s:Label text="Choose Log File"/> <mx:ComboBox id ="logF...

Flex canvas with many UIComponents, if one moved are others redrawn/reprocessed?

Hi I have a canvas called Host with many UIComponents as children, sometimes up to 1000 or 3000 items. This is fine for now, as they are not interactive. But, I have added a 'marker line' (a 1 pixel wide UI Component with a colored background) to the canvas which follows the mouse movement. When this UIComponent is added to the Host c...

styling the a specific row of flex dataGrid

Hello, I have a dataGrid component in flex. My grid has few rows. I simply want to make the last row bold. I just can't figure how to do it. I thought about an idea : create a factory that gets parameters so that i can pass the itemRenderer the total count of rows. But, i don't know how to check the current row in the itemRenderer itsel...

URLStream and unicode

Hi, I am trying to send info using USLStream from flash client to JAVA server. Some of the info is Chinese so i have to use Unicode. How can i do that? now the Unicode info retrieved in the server is corrupted. ...

Flex access variable from one component into another

I have a main application which has an int variable declared. I want to access this variable in another component which is present in another package. How can I do this? Main.mxml (default package) <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" ...

Flex: how to put project on web

Hi, I am new to flex and web programming. I created a canvas that I want to put on the web. What are the steps to do it? I use a mac and I am using Fetch to put files. Much thanks. ...

Cairngorm Framework V3 Vs Cairngrom framework V2

I have seen some white papers, Cairngorm V2 is not always good to use for flex framework. so many flex projects are converted cairngorm 2 to cairngorm 3. What i guess is what ever cairngorm 3 is developed based on the cairngorm 2 framework. So why all the projects converted to cairngorm 3 because of some issues in cairngorm 2 while usi...

how to assign dataProvider to DataGrid Dyanmically in flex ?

i done as follows i have a method with brings data of particular table, as given my parameter to that method, now i want to fetch data from corresponding table and it too list, and send back flex and form dynamically Grid & add dataprovider dynamically as for its corresponded table colomns in flex side ? Remote objec(java class) pu...

Flex: pass a parameter to itemEditor

I have a datagrid where one column calls a custom an itemEditor like; <mx:DataGridColumn dataField="city" width="150" headerText="City" itemEditor="components.ComboCity" ...

Page title replaced in IE if fragment identifier set

Hi. In IE, with Flex application embedded, changing page location with JS like that: document.location.href = "#someFragmentIdentifier"; causes change of page title to "#someFragmentIdentifier". I've read that the cause of that was supposed to be integration of Flex application with browser navigation, so I disabled it at the Flex co...

Flex: creationComplete in mx Module

I am using Flex 4, I have a main application like this; <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> <fx:Declarations> <!-- Pl...