flex

Flex renderer recycling with browser scrollbars?

Is it possible to get flex renderer recycling while using browser scrollbars? I have a flex tree control with custom item renderers for rich editing of a server-side data structure which may have any number of child nodes. If at all possible, I'd like to avoid using a flex scrollbar if the content exceeds the viewable range, instead pr...

pureMVC: unique mediator for each tab in an interface.

Hello, I am building a tabbed interface for switching between various similar layers. Each layer will have a number of graphs. By dragging with the mouse the graphs can be rearranged or even moved between layers. My question is, is it best practice to register a unique mediator for each layer that keeps track of the layers content / ...

Flex Combobox and "Access of undefined property ..." error

I am kind of puzzled and not sure how to tackle this issue: Got two comboxes with dataproviders. Also, I created a separate index.as in /as folder. I have these two functions: In my .mxml page, I have : <mx:FormItem label="Property Code:" id="fi_propertyCode" width="100%"> <mx:ComboBox id="propertyCode" wid...

Flex + Cairngrom + getter setter on a bound VO

I feel like this should be a simple thing, but here I am asking the question after a good amount of frustration. Ok I have a project I'm doing in Cairngorm in Flex 3. In one of the components I have a tile list that's bound to a VO in a Model Locator. I want to run a function once that VO contains some data that basically adds sums a ...

How to get an HSlider with skins for each side of thumb

I'd like to create an HSlider so that the skin of the track is different on either side of the thumb. So, for example, the track on the left side of the thumb is green, but red on the other. Is this possible or will it take a custom component? ...

Flex load modules READY event not fired, why ?

Hello I have this very simple mxml example. Using flex builder with flex sdk 3.4.0 if the module is remote like http://edofiles.s3.amazonaws.com/calculator.swf The READY event is never fired, i don't understand why. Do you get the same behavior ? Original code is from http://lowpitch.com/blog/modulemanager-and-imoduleinfo-loading-fl...

How do you implement a variable background color on Flex AreaChart?

How do you implement a variable background color on Flex AreaChart? I have an area chart with one data series. When the value of the series goes above a certain value, I would like the background color of the chart (filled and unfilled part of background) to be a different color for those x-values. Is there a way to do this? ...

How to make a general form in Flex to deal with Entity CRUD?

I would like to create a general form so that it can deal with creation/read/update of an entity. When creating an entity, it may only contain a subset of all fields; when updating the entity, it may contain a different subset of fields; and when reading the entity, none of the fields are editable. Anyone with experience in designing suc...

how to pass an array of values from one mxml component to another in Flex?

I have a mxml component with a datagrid listing project names and code versions. I have the selected projects from the datagrid binded to a public variable named "selectedProjects". But how to access this variable in another mxml component. I want the selected project's name in that component's text area. how to do that? I even created a...

I want to insert a checkbox inside a accordion header in my Application (AIR).Can any one of you please help it out?

In my application i want checkbox on the accordion ,so is it possiable to set checkbox ? if it is possiable How can i identified child ? <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" height="100%"> <mx:Accordion> <mx:headerRenderer> ...

Google site page in an iframe

I'm building a quite large Flex application as our administration tools and I need build in documentation functionality. I want this documentation to be like a wiki and as we're using Google apps I though I'd use Google sites to host the wiki pages (why reinvet the weel...). To include the wiki page in Flex I'm using the http://code.go...

flex: drag-drop problem

Hi; I have two Lists that both are drag-drop enabled. I also draw a chart according the items in the second list and trigger drawChart method whenever a drag-drop event occurs between them. Drag drop and dynamic charting work properly except one problem. I put dragComplete="drawChart()" to both of lists. Dragging from first list to s...

Is it possible to develop Flex w/ ASP.NET projects on OSX via remote connection?

I recently completed a Flex app (using Flex Builder 3, PHP, and MySQL) on my Mac and now I want to write a very similar application to use on a client's ASP.NET site. Flex Builder apparently refuses to set up an ASP.NET project if there's no local IIS server (which I don't have). Is there a way I could develop the Flex app locally usin...

Flex: Binding to an MXML-esque "binding string" in action script?

Is it possible to specify MXML-esque "binding strings" in ActionScript? For example, I want to be able to do something like: MXMLBinding(this, "first_item", this, "{myArrayCollection.getItemAt(0)"); MXMLBinding(this, ["nameLbl", "text"], this, "Name: {somePerson.first} {somePerson.last}"); Edit: thanks for the...

Flex External Stylesheet Conventions

I know that there are questions regarding this same topic, but for HTML. What are some good conventions in regards to using external stylesheets in a Flex app.? How would you break up the stylesheets (names of stylesheets and what they include)? ...

get the index of first element to mach a condition in an XMLListCollection Object.

I have an XMLListCollection object that contains items with an ID property. I want to find one particular item by id and then get it's index in the collection. This is done to be able to tell the comboBox (whose dataProvider is the XMLListCollection) the index of the item to display. ...

Flex: Why can't I get sub-children of display object?

Hello, I am having problems accessing sub-children of my displayObject. Here is my code:private function resizeTag(event:MouseEvent):void{ var currTagPos:Number = 1; var theTagBox:DisplayObject = tagCanvas.getChildAt(currTagPos); //i have confirmed that it exists on the stage and has sub-children trace(theTag...

Flash and Flex workflow using a SWC

Ill try to explain the best i can :) I want to use the strengths of both Flex and Flash in an upcoming project. Doing the graphical related stuff in Flash and all the coding in Flex. What i want to do is create a layout in flash making classes as you would normally by creating symbols and exporting them for actionscript etc. Then i wan...

Any Flex 4 migration experience?

My current development stack is MySQL + iBatis + Spring + Spring BlazeDS Integration 1.01 + BlazeDS 3.2 and Flex 3 with Mate 0.8.9 framework. Now Flash Builder 4 beta 2 is out. There are cool features like Data Centric Development (DCD), form generation etc... Do you know how Spring Blazeds Integration works with BlazeDS 4? What about M...

Flex audio input peak meter ?

Hello, I'm looking for a simple way to do a peak meter for a Flex application I have that needs microphone input. Is there some component designed for this ? I have googled a lot, and haven't found a thing. ...