flex

What proportion of users have the flex framework cached?

We have a Flex application which doesn't currently use the Flex framework as an RSL. We're considering switching, but we're not sure what proportion of users will already have the framework cached. There's an added complication in that we're using the data visualisation components too, and we may have a choice as to which version of th...

create HBox component with default values

I want to create a HBox component name for example HLBox that behaves exactly like an HBox but ha s as default width and height 100%. How can I do that? ...

Flex viewstack keeps redrawing invisible child, how to fix?

The situation: I've got a ViewStack with 2 children (both of type Panel). The application starts with child 1 as the SelectedChild. With a click on a button, child 2 is the SelectedChild. After that, I return to child 1 being the SelectedChild. When I click Show Redraw Regions in the Flash Player, I can see child 2 being redrawn the w...

Image preview in Flex

Hi, I am working on an image management application. We have an Adobe AIR client talking to a WAMP server. The MySQL DB stores the images as blobs. We have an image search feature. Upon searching, I am displaying the results as XMLList in a popup window and provided a download button. Downloads work fine. I also want to add a preview but...

Flex with Rails, just want to update a record....how hard can this be?

I have this in Flex: <mx:HTTPService id="update" url="http://localhost:3000/people/{grid.selectedItem.id}.xml?_method=put" contentType="application/xml" resultFormat="e4x" method="POST" result="index.send()"/> And when it fires I get the following error in Rails: Processing ApplicationController#index (for 127.0.0.1 at 2009-12-...

[Flex4] have any idea how to set the layout?

hi all: i want use two button to control list turn left/right one element. but i got some confuse about how to layout those component. i use " requestedColumnCount="6" " to set the list width , so in the design model i only know this list can display 6 element , but i don't know how width it will be. so i use the "HGroup" to set t...

next/previous word in flex builder

The felx builder (on eclipse) next/previous word command, usually bound to CTRL-RIGHTARROW on OPTION-RIGHTARROW on the mac, doesn't stop for ":" and "." and in a few other cases. It's clearly a wrong behaviour for action script development! How can I change it? ...

How do I create my own Classes/Objects in Flex?

When I try to do this in an AS CDATA block, it tells me I can't have a class declared within a class (the MX:Application itself). Makes sense. But where and how do I do it? ...

Does the ExternalInterface, in Flex 3, have a data size limitation?

I am using the ExternalInterface on Flex 3. We are actually using flex to compress a large amount of DOM data, so this is specifically being used with LARGE data. To further investigate, if there is a limitation, is this universal? (IE. Silverlight) First, let me state that this is being done with an application that was made by inexp...

Flex/AS3 : Automatically instanciate package classes in an array (plugin classes)

Hi, This is my first time here, but I already found some good answers here, so I'd like to thank. I'm developping a small Flex application and I want to instanciate every class from a package into an array, so I can parse it afterwards. To clarify, I'm trying to ease a plugin management system for my application, with the old canProces...

Programatically load images in Flex

I need to load several images as Bitmap or BitmapData objects. The images are hosted outside the Flex project, and they're referenced by an external configuration file, so I can't embed them. Because the images won't be displayed directly to the user (they're being added to a PDF that is generated for download), creating a grouping of Im...

dynamically generate ComboBox name

I have a script that parses some complex XML. When the XML element is of a certain type, it generates a comboBox using the XML element's children to populate the box. I then want to check all of the values of the all the generated ComboBoxes against their correct answers (which is also info stored in the XML file). When creating the Comb...

[Inspectable] metadata tag

Hi, Anyone can explain briefly about the [Inspectable] metadata tag. I read and could not understand in live docs. Please help me when we are going to use the [Inspectable] metadata tag? Thanks, ravi ...

Blaze DS via Ajax with ColdFusion

I want to use Adobe's Blaze DS via ColdFusion through Ajax. I know enough ColdFusion and JavaScript to do what I want to do, but I want to add long poling into the application and it looks like the only way to do that is through Blaze DS...but I don't know enough about Flash/Flex to finish the job. Anyone know of an Ajax Mockup that work...

AS3: Game development

Hi! I am looking a game framework for flex/AS3. I want to use it to create simple 2d games, such as tower defense, etc. Maybe someone can suggest something? ...

Internal Drag and Drop in Tree Control

I have written a custom Itemrenderer for my Tree control, i.e., MyTreeItemRenderer. However, once i am providing this custom renderer for my tree control do I have to handle the drag and drop functionalily separately myself as i am getting an error, null object reference while dragging and dropping within the tree control. ...

Tree Drag and Drop Functionality

label1 | |_*label2 |label3 |___label4 |___label5 I want a tree in this structure, having line between the nodes, also, instead of Open and Close Folders, I have added my own graphic there with label. I did by extending TreeItemRenderer Class. Now, I if iam dragging and dropping a child node ex:label5, and try i drop it above label1 ...

Simplify AS3 binding/event-dispatching code

There are 3 properties (example 1): [Bindable] public var name:String; [Bindable] public var email:Number; [Bindable] public var address:Boolean; I needed to have 3 helper methods that will be bindable too (example 2): [Bindable] public var name:String; [Bindable] public var email:Number; [Bindable] public var address:Boolean; publi...

Flex TextArea htmlText with stylesheet click bug

This bug is hard to describe, but easily reproduced with the bottom code. Just copy, paste, and compile+run in Flex 3 and you'll see the problem. Anyone know of a work around? Edit: Here is a link to a running demo: http://shiinaringo.se/hosted/flex/textarea-bug/HtmlTextBug.html In the demo, the default color of TextArea is set to red. ...

create video conference with flex and red5 server

How can I create video conference with flex in client side and using red5 media server on server side? ...