flex3

How to Draw a circle displaying a number in flex .

Hi , I am flex newbie , so please forgive me if i am not using the right words to ask the following question. I want to know if there is a way to draw a circle which shows a number , like for ex. Graduated Circles representing its radius to show it's relevance. Is there a component which already do so , if not what is the best way to do ...

Adobe Flex: Scrollable boxes

If a dynamically sized (i.e. width100%) Box isn't big enough for it's content how to I get that box to becode scrollable instead of passing this resposiblity to it's parent. I'e I only want the box to become as large as there's space for it. I.e. in the following example, if you resize your browser window so that the textboxes don't fi...

How can I use strikethrough in a Label or text in flex 3 ?

How can I use strikethrough in a Label or text in flex 3 ? ...

Flex 3 XML fed TileList passing selected item to another component

I have a TileList populated by an xml on creation complete and I would like the image from the selected item to be passed to the source of an image component. This is the main application: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal" backgroundColor="#FFFFFF"> <mx:...

Is there a SVG to MXML Converter?

Hi, I'm trying to use an SVG file in my Flex app - but it seems the best way to do that is to convert it to MXML. However, I cannot find an SVG to MXML converter. There seem to be a number of SVG to XAML converters (for Silverlight/C#), but I can't find anything analogous for Flash/Flex. Any help would be appreciated. Thanks, Karthik ...

Handle fault event in mx.data.DataService while background sync?

We are using objects that at times need to sync up with the server via the mx.data.DataService, The problem is in case of explicit method invocation over the dataservice object we are able to trap the fault events using the fault handlers. The problem arises when dataservice is sync'ing the object in background. In case of a fault event...

flex 3 inline text wrapping

Hi all, I am trying to implement a functionality like: http://henrytseng.blogspot.com/2009/03/as3-intelligent-text-wrapping-or.html or http://dispatchevent.org/roger/dynamic-text-wrapping-in-actionscript-3/ But the difference is instead of text field i have textarea & instead of display object i have images. Thanks in advance. ...

What effect has open source BlazeDS had on the adoption rate of Adobe Flex?

Is there any reliable way to check statistics for this question? I'm skeptical whether measures like Google Trends really say much but I was thinking the job market for Flex jobs might be an indicator and the market seems healthy based on Indeed Trends. I thought adoption of Adobe Flex was relatively sluggish but what I'm hearing is th...

Calculating Dictionary length in Flex

What's the best way to calculate the length of a Dictionary object in Flex? var d:Dictionary = new Dictionary(); d["a"] = "alpha"; d["b"] = "beta"; I want to check the length which should be 2 for this Dictionary. Is there any way to do it other than looping through the objects? ...

Flex 3 ColorPicker changes movieclip in SWFLoader

How would I use a ColorPicker in Flex 3 to change the color of a movieclip which was dynamically loaded from an array into a SWFLoader? ...

extending an existing flex component

Hi, this is a pretty basic question but I can't seem to get it right. If I want to extend an existing component, what is the right way to do it? For example, this thread talks about it, but doesn't give an example: http://stackoverflow.com/questions/710646/flex-datechooser-events-for-individual-days A simple example of just adding a tr...

Flex Wipe State Transitions?

I'm trying to create a simple wipe / slide type transition between 2 states. Similiar to the way the iphone 'slides' from one list to another (ie. inbox > mail listing) I can't seem to figure out or find correct documentation on how to do this using 2 simple canvas components and transitions where one slides off screen to the left as th...

referring a control inside a component in flex

Hi, I am getting problem in accessing the control inside a component. The scenario is I have a datagrid in which I have a component in which I have a textarea. Now by selecting a menu option I need to focus the textarea. Pls help me in referring the textarea. I need to setfocus in that textarea. Thanks in advance. ...

flex edit menu operations on multiple textareas

Hi, I have a grid in which one column is having itemrenderer as textarea. My application is menu controled. Now I want to perform edit operations on the textarea using menu items. Like if I select some text from a textarea in the grid, then I select a menu item "Cut" then it should cut the selected text from the textarea. In this mann...

Get vertical labels to be close together

I cant quite understand why two vertical label components dont appear right under each other. There seems to be a lot of space between them, is there anyway to get this space removed as setting padding makes no difference at all. For example, take this layout code: <mx:VBox> <mx:Label text="Title" paddingBottom="0" paddingLeft="0" padd...

Is there any way to get a tooltip to appear outside an air application window?

I wish to display a potentially wide tooltip that may extend beyond the application window width. Is there any way to get tooltips, or perhaps indeed any display objects, to not get clipped and extend beyond the window like it would do in a native Win32 application? ...

flex textflow text highliter

Hi, I have a flex datagrid in my application. In that I have a itemrenderer as textflow on canvas. Now I would like to implement Find/Replace functionality on the itemrenderers of the datagrid. Thanks in advance. ...

How can I get a mx:textarea height to be the same as the content

The initial height of a text area is much larger than the content, I cannot find a way of making it always the same height as the text content: <mx:TextArea id="textarea" borderStyle="solid" width="100%" wordWrap="true" selectable="false" backgroundAlpha="0" focusAlpha="0" text="this is a little test" /> Gives a bordered box that is m...

Working with Javascript and images in AIR's HTML component

I'm having the following problems using Javascript and img tags in the standard HTML component in AIR: 1- Javascript in the xml literal causes problems (even though it shows using them here: http://livedocs.adobe.com/flex/3/html/ProgrammingHTMLAndJavaScript_07.html#1032824 2- Using html.loadString(...<img src="/tmp/me.jpg" />...) does ...

flex air include a directory with the installer

Hi, I am creating an AIR application using Flex. In it I need 2 directories downloads & uploads. These directories will have downloaded files & uploaded files. But the problem is I am not able to create these 2 directories programmatically & also I am not able to include the 2 directories with the installer in the application directory...