flex

Something to allow "Writing flex without ActionScript", or "Java to AVM2 compiler", or "Write Flex using Java" exists?

There are many dynamic languages that target Sun's JVM (Groovy, Scala, Jython, Jruby etc) and I was sure there are many that target Adobe's AVM as well. But I was surprised to find only haXe do something similiar. related question on this site I think the eclipse e4 SWT project doesn't compile to ABC (ActionScript Byte Code) directly, ...

How scroll a canvas up? (Writing chat in Flex)

I'm writing a chat client using Flex. The basis for the chat window is a canvas. I've got that showing, but how do I make it scroll up? I want to clip the window so only the last 15 lines are shown. This doesn't appear to be working (nothing moves): <mx:Canvas id="canvas" width="300" height="3000" horizontalScrollPolicy="off" vertic...

How do i display error messages when i have many input fields by using Adobe Flex ?

Hi, I am a beginner to Flex development (so keep it in mind when answering) and i have a Adobe Flex form in which it has many input Field. I use VBox, HBox as container to layout the page. So the question is: How do i display error messages when i have many input fields by using Adobe Flex ? And what should i do to show error message ...

flex: take screenshot from loaded swf from swfloader

hi. can i save a screenshot from a loaded swf using the SWFLoader class ? ...

as3: xml loads but doesn't seem to be coerced to native flash xml

I have a class that loads some xml data via php scripting. I am trying to grab the formatted xml (which i have verified is formatted correctly), and stuff it into a number of variables. I try: package utils.php { import flash.events.Event; import flash.events.EventDispatcher; import flash.net.URLLoader; import flash.net....

as3: usage of this keyword

Hey there, I am just wondering when it's necessary to use the keyword this.somevar instead of just somevar. I usually don't use this under the following circumstances: i have made a var private for a class i refer to it in order to use it as a local var for that class correct? or is this not just a style thing? ...

add Dynamic children to an array or arraycollection

Hi, I'm a bit new to flex and cannot get my head around this problem. can someone help. thanks in advance. I have a string list path. path 1 - "one/two/three" path 2 - "one/two/four" path 3 - "five/six" i need an advanced datagrid to show a tree structure like so one/ ...two/ .......

Compiling ActionScript 3 Files from the Command Prompt

I have a file Employee.as with the following source code. I am unable to compile it from the command prompt. package Office{ public class Employee{ private var _firstName:String = ""; public function get FirstName():String{ return _firstName; } public function set FirstName(value:String):String{ _fi...

can we write a file to appication directory in FLEX ?.

how to write a file to File.applicationDirectory in flex. i am getting security filewrite resource error. ...

Is the Mediator must hold a view in PureMvc ?

Hi all i have one question about pureMvc. i uew pureMvc to build an engine, in the engine init part i have an requirement 1) moduleA must init firt 2) moduleB , moduleC need init after moduleA init complate. 3) moduleD need init after moduleB & moduleC init complate. 4) moduleA , moduleB , moduleC , moduleD all extends Proxy beacu...

Get data from dynamic HTTPService Asynchronous to populate an Advanced Data Grid Flex

I have to populate an Advanced Data Grid which have the following fields: Continent->State->Society-->Actual Value-->Estimate Value I want to simulate a financial market so i have to change some of the values by asynchronous request from an HTTPService; have you got any idea to do so? Thank you. If necessary i'll post the .as file, but i...

Fixing a datagrid width with dynamic columns

I have a datagrid contained in a vbox, this datagrid acts as a spreadsheet it contains 70 columns, initially 10 are visible and the rest are hidden and the user selects which other colums to show dynamically. I need this datagrid to use the maximum screen width available, so I have set the application's width to 100% as well as the vbox...

How to create a dynamic xml which populates an advanced data grid in flex air application

Is it possible to create a dynamic xml file which changes in some fields to populate an advanced data grid? I have to display continents, countries, society and its values but i want to change randomly only the value and not all toegether... The client side application call the database by an asynchronous httpservice. LCDS, Blaze or simi...

Flex: MXML syntax highlighting, autocomplete and bracket matching functionality on GNU/Linux?

Has anyone been able to get syntax highlighting, autocomplete and bracket matching functionality on GNU/Linux for MXML files? We are using Eclipse with Flex Builder for Linux (version alpha 5), but we can't edit MXML files on design view, and the text mode just shows the XML as plain text (not even syntax highlighting). The official pr...

Adding a custom UI component as a panel titleIcon (should be easy, I'm kind of a newbie)

The concept of this seems easy, but I'm having trouble getting it right and can't find anything to help me on this. I have a panel I need to perform a drag and drop operation on, but I only want to perform that if the user mouses down on a particular area of the panel. I can add an Icon to the panel by doing this: [Embed("/img/icon.png...

Flex Tweener still being used

since the development of Tweener is slow I am wondering if Tweener is still the preferred lib, or if there is a different lib that is preferred? ...

Flex skew Object

I was wondering how to distort a Flex object like Panel so it looks like a trapezoid? ...

Programmatically extracting a frame from a video in Flash

I need to write a small Flash app that will need to extract a video frame from a playing video. It will not need to be saved to the HDD of the user. I just need to get the image data and display it in the Flash movie. The frame to extract will be chosen by the user, which is why I'd like to do this purely on the client side (though I kno...

Blemish Removal in Digital Image

I'm currently writing an image editing application using Flex and I'm trying to make a blemish removal functionality like in picnik.com. I have searched everywhere but couldn't find anything. What is the best way that's suitable for this? I have tried to just blur away the blemishes, but the results are bad. ...

Capture hotkey in browsers

I'm doing SWF application which will run in browser. And I want to capture CTRL+F key pressing event when Flex application is in focus. In Firefox it works fine but in Opera and Safari browser captures event prior to Flex application and Find Dialog pop-ups. Is there any way for flex application to capture CTRL+F event prior browser? ...