flex

Flex Framework that Uses Signals and Slots

Is there a framework for Flex that uses the Qt Signal and Slots paradigm? I'm getting tired of these event-mapped frameworks. ...

flex adt core technology

i have only one video file , i like to package it with flex sothat dance.air file will be created ,but when i will install that dance.air file then only one video file dance.flv file will installed .no swf,exe,auxiliary file will be created. that is how can i package only one video file in the air? ...

Assigning an array of objects to a DataGrid

When the dataProvider for an DataGrid is an array of objects, how do I set each column's dataField to a property of the object. I have an ArrayCollection (say a) where each item is an object For example a[i] = data:Object Where the object data has some subproperties - data.name, data.title, data.content etc. I have a DataGrid in which ...

how to lazy load data for groups in AdvandedDataGrid in flex ?

Load data on demand (lazy load data ) for groups in advanced data grid control. When the user expands a node the flex component can make a webservice calla and retrieve data for this group. ignoring the webservie part, I am trying to figureout how to do the UI part in AdvancedDataGrid ? ...

Flex Skinning and Adobe Illustrator

I'm developing a skin for Flex 3 using Adobe Illustrator and I've just ran into a problem. I've designed a larger scrollBar skin to be used in a touch screen application but Flex seems to apply the default sizes regardless of the size of the symbol in the generated .swf. I could achieve the correct effect with .png but I'd like to know i...

ArcGIS Flex API: Convert a screen point to a MapPoint

Using the ArcGIS Server Flex API, is there a way to convert mouse coordinates on the screen or the a map control to spatial coordinates in the map? It seems like there's functionality to convert map points to screen points, but a function for converting in the other direction seems weirdly absent. ...

How to introspect a Flex component before adding it to display

Suppose you have a MyView.mxml file, which is basically a Panel with several children (Form, FormItems, Buttons...). Is it possible to iterate over the MyView and get all the information about its children (types, id ...) before it is displayed. In my Main.mxml if I have this function public function iterateOverChildren(comp:Con...

Flex reverse proxy issues

I'm currently working on setting up a reverse proxy for testing a flex-based web application. The current setup is using mod_proxy (with mod_proxy_http) to reverse proxy to another host. Everything seems to work except for requests made from the flash player, which result in an error message that says "Security error accessing url". ...

is there any event that raise before updateComplete() for a Canvas?

Hi, I have an app with a canvas which content changes dynamically. In my app there is a progressbar which I want to show while the canvas update is executed. Is there any event to call just before the update starts? Thanks! ...

Problem with component creation

I'm having difficulty with a Flex app I'm creating. I believe the problem is with my poor understanding of the component lifecycle and I would greatly appreciate some pointers! My app runs in Air. The application creates an array of DashItems. A DashItem is an ActionScript class that extends Canvas. Based on data passed on the creat...

Flex NativeDrag Event on an mx:Html control?

I have an mx:HTML tag loading external content. The control takes up 100%w and 100%height of the application. How can I accept NativeDrag (or any drag) events and receive the drops? <mx:Canvas width="100%" height="100%" backgroundColor="#000000" id="cvDropZone"> <mx:HTML id="coreHtml" width="100%" height="100%" backgroundColor="r...

Flex Drag n Drop between Components

I have a flex project that is made of up several custom components that are mostly based on VBox with Lists of some form or fashion ranging from Tree to AdvancedDataGrid. My main view consists of two custom components which one contains a Tree and other an AdvancedDataGrid. Using the standard built-in d-n-d in those components, I'm not...

Draw a line on specific data value on cartesian chart in Flex

Hi, Is there a way to draw a line on a graph (or at least get the position) on specific date? I have a graph where X is Date data, I want to draw a line with a text on each Year and each 3 months as reference, not part of the graph series. thanks. ...

Highlight selected cell of a flex data grid

Hi I have a flex data grid.I need to highlight the selected cell of the data grid.can u please help me? ...

Saving and Loading XML file with flex

Hello Community, I want to have a xml file for my configuration and so i have to load it from the same directory the swf file lies in and save it afterwards. I saw articles about filestreams in flex but my compiler didn't allow me to use the filestream. I use the open source flex sdk. anyone got an idea? thanks in advance Sebastian ...

control swfLoader and sound content in flex

Hello i am doing a project and i am loading .swf files in a FLEX 3 SWFLoader. i made a HSlider as a seeker to control the .swf file (forward and backword); BUT... if the swf file has sound and i drag the seeker forward or back word the sound does not effect i want to control the sound as i control the swf file note:: the sound is in t...

Can i create multiple itemrenderer for a datagrid column in flex?

I actually wanted to create an itemrenderer which will contain below code : <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" width="0" height="0" > <mx:Label text="{data.xval}" /> <mx:Spacer width="100%" /> <mx:Image source="edit.gif" width="16" toolTip="Edit" /> </mx:HBox> Now when i click on the image datgrid column shoul...

Mixing different version of the same library in flex

How can I use two version of a library in the same project in Flex (using Eclipse). (in my case the library is papervision3d , and I have written some code using the older version, but due to big changes many of the used function exist no more) thx ...

Create a timeline from date to date in Flex/AS3

Hi, I need to create a timeline between 2 given dates, ie: 2006-01-20 - 2009-02-14 The timeline must be drawn on a given width (can be altered), ie: 600px But I need to add markers, one on year beginning, and others 4 times during the year (each 73 days aprox): Any tips? ...

Why might the Flash Builder 4 network monitor not work?

I'm using the Flash Builder 4 beta, and I have two projects, both of which have Network Monitor enabled. I have two projects, for one of which the network monitor works, and for the other, it doesn't. The working project is using an HTTPService to connect to an application running on localhost, using POST and GET to retrieve values. T...