flex

flex how can i use an image multiple times

i want to reuse an image multiple times within an item renderer, is it possible to embed the image and then reuse multiple times without having to go back to the server for the image? Is this the most performant solution? ...

Flex Drag and Drop

Hi all, I am creating an application that will allow users to model configuration information by allowing them to Drag and Drop objects from a Flex Tree into a DataGrid. I know that both the Tree and DataGrid both support Drag and Drop quite well. My problem is that I want users to drop items from the Tree into a particular Datagrid ce...

NumberValidator conflicts with resourcemanager

Hi, I have written the following test <?xml version="1.0" encoding="utf-8"?> <mx:Application creationComplete="{init()}" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" viewSourceURL="srcview/index.html"> <mx:NumberValidator source="{testInput}" property="text" minValue="0" domain="real" tri...

Could not open the editor: Assertion failed:

when i open .mxml flex file in eclipse it gives error Could not open the editor: Assertion failed: Does any one know about it ...

Flex video player buffering

am new to flex.. am creating one video player.. I need set the preloader for this component when ever the video is buffering... Please post the answers or related links.. Thanks Aswath ...

changing a Flex movie to use Runtime shared libraries and losing text in charts

Hi, I'm creating a small size Flex movies which contains two line charts, at the moment the size of the release build swf is 343KB, which is too large for our needs. I've tried changing the loading of the SWC file to Runtime Shared Libraries, but I found that this removed the text of the charts (the text for the x and y axis). Why wou...

How to connect flex with mysql ?

I want to connect flex with mysql please help me ...

Flex datagrid - determining when grid has completed renderering?

hi, i have a datagrid which contains a number of itemrenderers, it is populated each time a user does a search. Is there an event which can tell me when the datagrid has completed rendering all new rows and item renderers? I need to trigger an event once everything has been created so that i can resize then container which holds the g...

Refresh Datagrid with Hierarchical Data

Hi, how can I refresh the displayed data in a Datagrid when the underlying ArrayCollection changes? <nmoschitz:dataProvider> <mx:HierarchicalData source="{arrCol_groupedData}" childrenField="accounts"/> </nmoschitz:dataProvider> Calling a simple refresh (like with a simple arraycollection as a dataprovider, or with a refresh on t...

Synchronizing HeaderRenderer height on two DataGrids

I have two separate datagrids, they both use the same class as the custom headerRenderer. I am having problems thinking of a way to sync the size of each headerRenderer. If grid1 has two rows worth of text (word wrapping is enabled) and grid2 has one rows worth of text. I want both grid1 and grid2 to both be the height of two rows worth ...

OpenNodes in dataprovider of Advanced Data Grid is empty

I am having a hierarchical ArrayCollection and set it as a dataprovider to an ADG <mx:AdvancedDataGrid> <mx:dataProvider> <mx:HierarchicalData source="{arrCol_groupedData}" childrenField="accounts" id="hierarchicalData"/> </mx:dataProvider> <mx:AdvancedDataGrid> Why is the openNodes array always empty? (I need it to preser...

how to set selected child in viewstack ?

in main.mxml : public function init():void { PopUpManager.createPopUp(this,login,true); } <mx:ViewStack id="vs" label="content" > <local:FrontPanel id="Fpanel" /> <local:SlavePanel id="Spanel" /> <local:AdminPanel id="Mpanel" /> </mx:ViewStack> In Login.mxml : public function authenticat...

Online Image Editor - Ajax or Flex / Flash??

I am working on a plan to build an online image editor with just some basic functions. It should (obviously) contain a canvas working area and support the following functions: 1. Upload an image from your computer or submit a link 2. Resize image (by dragging the corner) 3. Rotate and flip 4. Drag / move / pan 5. Layering (if more then ...

flex datagrid - is it possible call a sortCompareFunction on initialize

HI, I want to call the sortCompareFunction for a particular row when the grids first loads. Is this possible? Otherwise is there a way to call a sort method on grid load after it has been asssigned the dataprovdier has been updatad ...

Developing two modules as single application is Good Or different applications is suggestable ?

i have two modules usermodule & admin module,how can i deploy these module into server as a single applicatin or as two different module (user, admin) is secured ? which one is optimized way in flex? ...

Flex table like component

Is there are component in Flex where we can display the data in table format. http://code.google.com/p/flex-table/ I did not like the look and feel, any other components. ...

How do you set different columns to have alternatingItemColors on DataGridColumns?

On a DataGrid, setting alternatingItemColors will apply the color scheme to all of the columns of that grid. I'm looking for a way to define different alternating colors for each column. Is there a baked in way to do this? ...

Flex Collapsible Panel?

I am using this collapsible panel - link. Unfortunately, I have a problem using it with application states. I have a state where this panel is visible, when I switch to this state, this panel shows, when I click on it, it opens and its content shows. If I switch to another state (this panel is removed from display), and then switch back ...

What is the best way to exchange strings of text between Flex and Rails?

I want a Flex UI to send a string of text to Rails which will process and return a string of text. Wash, rinse, repeat. That's all I want. All of the examples I am finding are much more complex and not very informative given my noobiness. Thanks in advance, NJ ...

Flex: How is data passed from DataGridColumn.itemToLabel to DataGrid.itemRenderer.set(data) ?

Hi, I have a DataGrid whose dataProvider is an Array of int Arrays (each with different lengths). Since each row has variable size (and I want to display all the data), I decided to extend DataGridColumn and overwrite the itemToLabel function to be able to display the data. The problem is that I also need to display the data differently ...