flex3

Can we have ExtJs components inside a Flex driven page

Hi, I am working on a page which mainly consists of Charts and Grids. Thought that Flex would be the best fit with some cool effects. But however, I now feel that ExtJs grid looks better than Flex data grid. My question is whether there is any possibility / mechanism to embed Ext JS grid into a Flex page. Lets say my main page has a Fl...

Adapting the width of a Flexs 3 DataGridColumn to the content of its ItemRenderer ?

I have the following scenario : A Flex 3 DataGrid is sitting here At runtime, a column is added to this grid The column has a custom ItemRenderer The ItemRenderer inherits from HBox, and adds a few items to the HBOx dynamically My problem is that the width of the column doesn't change. As a consequence, my column stays small, and an...

Flex 3 how to shrink the text

hi all, in flex 3 how to shrink the text when i shrink the component? ...

How to merge two xmllistcollection in Flex 3

How to merge two xmllistcollection in Flex 3. Please note, addAll method is not available. ...

how to obtain fillColor from mx:LegendItem

I need to get the fillcolor from a legendItem, howerver doing lItem.getStyle("fill") returns a different color than the actual legendItem marker color. Any pointers on what am I doing wrong here? ...

flex 3 resize the label and text when i resize the window

hi all, i am creating flex 3 component when i re size the window i need to re size the labels and text.how to do this? Thanks. ...

flex datagrid re-assign dataprovider

Hi, I am working on a datagrid with custom itemRenderer & [Bindable]xmllist as dataprovider. Now the changes done in xmllist are not reflected on datagrid UI until unless I re-assign the dataprovider as the same xmllist. As the dataprovider is Bindable so re-assigning is not required. But it was not working so I re-assigned the xmlli...

FLEX: is "Tooltip" an option if I want a caption with buttons ?

hi, is "Tooltip" an option if I want a caption with buttons ? I actually need to add a fading-in caption on top of my object without changing its width. (I guess not adding directly the faded-in caption to the MXML component. I was wondering if Tooltip can be used for this. Is possible to click on it ? And add custom components to it ...

How can i convert string datatype to date datatype in flex

I have to convert one string type field to date datatype in flex what can i do solve this problem ...

FLEX: popupManager: TitleWindow: how to make the background transparent

hi, I'm using PopupManager to display (not modal) popups in Flex. How can I make the background of my TitleWindow popup completely transparent? Now it is semi-transparent.. see picture with semi-transparent background (i.e. I just want the label inside visible): http://dl.dropbox.com/u/72686/semiTransparent.png Maybe, instead of maki...

FLEX: how can I set bottom-left coordinate of my component instead of the top-left

hi, I've some components with dynamic heights. They have to be aligned with respect to the bottom of my canvas container, so I cannot set the same y for all components. I could compute their heights and successively set the y but I was wondering if there was an easier way to do it. thanks ...

flex Error: unable to resolve resource bundle "core" for locale "en_US"

I'm trying to include a swc library in a flowplayer plugin I'm building, but when I include this swc it is referencing some of the core framework resource bundles. But for some reason the mxmlc compiler is not finding them. I've added the -include-resource-bundles=core,effects,skins,styles to the mxmlc arguments, but I'm still getting ...

How to customize the ColorPicker class in Adobe flex3.0?

i have to make the colorpiker tool of flex, to be a customized one, i beleive you have seen the color picker tool of flex, when you click on the colorpicker, a swatch panel gets open, right?? now in that swatch, there are three compoenents, one is thw colorbox(on top left), beside right to this is the text field holding the hex code of ...

How to write and read browser cache from Flex

Hi, I have a flex application that makes use of the autocomplete control. And I use a web service to download the data after successful login. My problem is that the data in Mb is about 4Mb and it takes quite a while to decompress in the application (after downloading it every time). Is there a way to make use of the browser cache to st...

Change A Character In A String Using Actionscript

What is the opposite of String.charAt()?? If I Have a string: var Str:String="Hello World"; How do I change the 5th character, for example, from a ' ' to an '_'? I can GET the 5th character like this: var C:String=Str.charAt(5); But how do I SET the 5th character? Thanks in advance. ...

FLEX, Tile container: how to better organize the children

hi, I'm using as container for my LinkButtons. I would like to know 1) how can I remove the space between the items in my Tile container. 2) how can I set dynamic width for my items (at the moment they all have the same width regardless the width of the included component) 3) how can I avoid to display scrollbars if the items are ...

FLEX: can a Popup created with Pop-up manager be draggable ?

I've created a TitleWindow with PopupManager and I was wondering if I can drag it over my Canvas thanks ...

FLEX: question about MXML syntax

hi, I would like to know if it is the same to assign properties to my custom component in its own class, or from the parent document. Please see snippet below: Here I assign the property bottom in my custom component class: <?xml version="1.0"?> <mx:LinkButton bottom="20" > <mx:Script> ... Here I assign the property bot...

FLEX: why the event is only listened by the dispatcher component ?

hi, I've a parent (Canvas) with many children (LinkButtons) The linkButtons trigger an event to communicate between them: dispatchEvent(new SameBookmarkEvent("SameBookmarkEvent", bookmark.name)); and all linkButtons have a listener this.addEventListener("SameBookmarkEvent", highlightMe); ... private function highlightMe(e:SameBoo...

mapping pictures to a sphere or cylinder

hi, i am developing an application where client can add his photos to appear on a sphere or ball or coffee cup and able to save them and give it for printing using flex. like itasveer.com site. i tried to use away3D but if the image is small it is stretched and added to sphere. i dont want it to strech instead the original image shud app...