flex

Flex/Openlaslzo for RIAs?

I recently stumbled upon flex/openlaszlo (OL). Both seem very useful and I have a few questions about them: What is needed to deploy flex apps? From what I understand, the flex sdk is open source, but the other tools (for development and deployment) are proprietary. What is needed to deploy openlaszlo? Is it completely op...

Degrafa Best Practices

I've been learning Degrafa recently, and I have noticed that there is not much consistency amongst examples posted on the web. Is there a place where I can find degrafa best practices (esp. for skinning)? or can anyone suggest examples that use best practices? ...

redirect mouse/keyboard input.

Is there some other simple method to redirect mouse/keyboard input from one object to an object behind it. I have used mouseEnabled = false where the object in front is only a UIComponent and it works. However mouseEnabled,mouseChildren=false is not working for an SWFLoader. ...

Eclipse (3.4) will not load Flex Plugin.

I installed Flex Builder plug in (3.2) into Eclipse 3.4. The installation had no errors, but I get this error when trying to start a new Flex Project. The selected wizard could not be started. Plug-in com.adobe.flexbuilder.apollo.ui was unable to load class com.adobe.flexbuilder.apollo.ui.wizards.flex.FlexApolloProjectWizard. com/adobe/...

Compare between FLEX, JavaFX and Silverlight

Has anyone built application to compare the performances of them? (performances like speed, different between GUI etc.) If no, Can anyone recommend me which function (in each of them) should I use to compare them? Thanks ...

Flex: Error #2038: File I/O Error

I have a flex app doing multiple file upload, and keep getting this error: Error #2038: File I/O Error Flex gives this error, yet it seems to work because the upload does get processed. This was happening intermittently, now on every attempt. Any ideas on what might be going on here? I've checked that permissions are read/write, google'...

.NET zlib Stream compatible with Actionscript ByteArray.uncompress

I can't seem to get a stream that Flex 3 want's to decompress. I've tried: System.IO.Compression.GZipStream System.IO.Compression.DeflateStream ICSharpCode.SharpZipLib.Zip.Compression.Streams.DeflaterOutputStream zlib.ZOutputStream None of these seem to make ByteArray.uncompress happy, i.e. I get Error #2058: There was an error ...

Skinning HorizontalList scrollbar with Degrafa

I am having some issues when trying to skin the scrollbar on a horizontalList with Degrafa. The scrollbar doesn't show up at all. I checked to see if the scrollbar is supposed to show up without the skinning, and it does. Are there any gotchas with doing this? Here is some code: This is where I define the HorizontalList where I want...

konami code in flex

What would be the best way to implement the konami code into a flex application? I want to create a component to add it on all my proyects, just for fun. thanks UPDATE: I made a simple component, thanks to ZaBlanc <?xml version="1.0" encoding="utf-8"?> <mx:UIComponent xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="init()...

Horizontal scrollbar hides content of ApplicationControlBar

I have an application control bar at the bottom of my Flex application (with attributes width="100%", dock="false", left="0", bottom="0", height="50"). It contains a lot of elements (like buttons and labels). The width of the SWF is the width of the browser. When the user makes the width of the browser window smaller, after a certain po...

visual change event

Is there not an event that occurs only when there has been some sort of visual change to an object. So for example if it were a video or animated object it would be firing as often as EnterFrame. However, if it were some sort of input control just sitting there doing nothing visually, then the event wouldn't fire until the visual state ...

Flex: Convert ArrayCollection to jagged String Array

Is there any built in functionality to convert an ArrayCollection to a jagged string array? I have an Arraycollection of objectproxies that I get from a SOAP webservice (asp.net datatable) that I modify and want to send back. Thanks, Brian ...

E4X: Parse a document with namespaced nodes and a variable to be evaluated?

I am trying to parse a document with nodes that look something like this: <doc> <results> <result xmlns="http://www.inktomi.com/"&gt; <title>Senate Panel to Review Election Unit Sale</title> </result> </result> </doc> However the namespace and the nodename of the result could be different. If it were not so...

Adobe AIR/FLEX programming tutorial.

Hello /dev/all, I just read a good tutorial at http://cateof.wordpress.com/2009/09/27/helloworld-air-application-in-linux/ about creating simple apps with air/flex. I was wondering if you have spotted similar pages around and if there is a good book that I can read in order to move from beginner to novice at this field. Thanks in advan...

Flex Games: Using Canvas Versus UIComponent?

For developing simple games with the Flex SDK, what are the consequences of using a Canvas object, versus a UIComponent object, as a drawing surface? Are there performance issues with either one? Are the methods generally the same? Searching around, it seems that most sample code I've found uses UIComponent. Is this just customary, or ar...

Global States in Flex 4

Flex 4 introduces states that are localized within a skin, and within a component. This makes sense on an MVC model, so the visual elements can have their own states (i.e. for a button: up, down, over, etc.) which are separate from a component's state. Yet, how would one go about making a global application state? Is there something alre...

Clear DateField in Flex 3

there's no way to clear a date after it has been inserted! I had to add an ugly button near it to clear it programmatically... Do you have a nicer solution? ...

How to erase an area in a BitmapData object?

Flex 3, ActionScript 3, Flash player 9. I have a picture in a BitmapData object. And an array of points. I nead to erase the part of the picture inside a polygon specified by the points. In other words, draw a polygon specified by the points and fill it with transparency. Any ideas on how it can be done? ...

Sorting function not called in Flex Datagrid

Hi all, I am creating a Datagrid in AS3, and adding a sort function to a column. However, this sort function does never get called. Any ideas? dg_gruppenUebersicht = new NestedDataGrid; dg_gruppenUebersicht.sortableColumns = true; dg_gruppenUebersicht.dataProvider = arrCol_gruppenTnAkt; dg_gruppenUebersicht.columns = new Ar...

Flex: Higlighting element on mouse over

Hi! I have a canvas with several small canvases on it. Like this: public class Board extends Canvas { public function Board() { //cellWidth = this.width/boardSize; //this.drawMech(); addEventListener(FlexEvent.CREATION_COMPLETE, creationComplete); super(); } then I added balls to...