flex3

ComboBox in Flex

Hi, I have a combobox with multi selection. when i click on add button, which ever data is selected in the Combobox, those data has to be displayed in the another comboBox. Please check the code and Can anyone of you please help me on this. <mx:HBox> <mx:Label width="140" text="{resourceManager.getString ('resources', 'settings_con...

How can I programmatically display a dataTip in a Flex 3 chart (without hovering with the mouse)?

I would like to show a dataTip on a flex chart by setting the selectedIndex property of the AreaSeries. For instance, if selectedIndex = 2, then a dataTip appears over the third item in the series. Is this possible in Flex 3.5? Thanks. ...

Flex Error:- 1151: A conflict exists with definition obj_inst1 in namespace internal.

I have wrote a function like , private function addSelectedFunc():void { /** * Adds newly selected privilegs to assignedPrivileges */ var obj_inst1:Array = obj_inst.selectedItems; for each(var obj_inst1:Object in obj_inst1) { objInstance1Array.addItem(obj_inste); } } <ov:HPList id="obj_inst" ...

How to detect all the browsers that are installed in a system?

Hi guys how to detect all the browsers that are installed in a system.By using Flex ...

Truncating mx:Text in Flex 3 to a number of lines

Hi there, I'm trying to get Flex (3.5, I know there is the Sparks Text stuff in 4.0 but unfortunately I'm stuck with 3.5 for the foreseeable future) to truncate a Text box to a certain number of lines. I've come across http://blogs.adobe.com/bhellema/2007/03/truncating_text_1.html and also http://cookbooks.adobe.com/post_Graphical_trun...

Flex LiveCycle DataServices issues with Flexicious datagrid

Hi, I am using flexicious datagrid to display realtime data using Flex livecycle dataservices. The Flexious grid is able to show the data that is pulled from the server initially but when the server is pushing updates back to the client, the grid is not showing the new records. The same data shows up realtime when i replace the flexici...

How to set variable size for List control item in Flex?

The following code display a list of comments using List control. The item height set to a fixed value (150), so it seems working: if the content is too long, the scrollbar shows... However, what I really want is not to set the height but let it to change according to the content size. Is there any way to accomplish this? <mx:...

Adobe flex ability to display checkbox or radio button at the same position based on role

Hi , I guess this is a basic question but I could not find the solution. I want to display checkbox or button at the same position based on user role. How can I do this. I cannot give x and y position same for both radio button and button as I will not know the location in my application. Is there any other way by which I can display ...

Flex Zooming of image about centre

Hi I want to zoom an image in flex after rotation but if I rotate it by 90 then zooming is not accordingly that means image shift left and if I don't rotate (or rotate by 360 i.e. 4 rotation) then zooming works properly. Any idea? Thank you in advance. ...

Flash Builder 4 and Debugging

Hi guys, I just wanted to ask a simple question. I am trying to work out the pros and cons of setting up Flash Builder 4, for Flex development, as an ant-build vs compiling via the IDE. I particularly want to ensure i can do the following: - Debug and Trace via IDE - Unit Testing via IDE Is this possible through command-line buildi...

Linechart with labelled plots

I have a line chart with 4 line series with diamond, circle, box and triangle as item renderer for the plots for these 4 line series. Now my requirement is I want to show labels for the plots in the chart. It should be like this : I tried with some item renderes but not getting it correctly since I want to use the circles and triangl...

can we unselect the selected radio button by clicking again

is there any way we can unselect the selected radio button by clicking again ...

what is a good book to start learning Flex 4 and Actionscript 3

I am new to Flex programming. I am an experienced J2EE developer and have done a fair bit of RIA programming using non-Adobe technologies.. Can you please suggest one or two good books which cover Flex 4 and AS3 programming in depth. PS: I am not looking for beginner level books, I need an intermediate to advanced Flex programming bibl...

Flex ignores changes in services-config.xml

Yesterday I spent half of day trying to force Flex Remoting to use HTTPS with no success. Today I tried to connect to other domain. I changed url of endpoint, but it looks like flex just ignores my changes. I am sure that an old url doesn't exist in any file in src directory, I even renamed services-config.xml to services-config2.xml, c...

on button click take a snapsho of a panel in flex is working but second time is not. after clean cookies and then click button its running.

[Bindable] private var encodedData:String = ""; [Bindable] private var _id:String = ""; private var imgSnap:ImageSnapshot; private function takeSnapshot(target:UIComponent,id:String):void{ _id = id; imgSnap = ImageSnapshot.captureImage(target); encodedData = ImageSnapshot.encodeImageAsBase64(im...

Printing image or canvas in Flex3 - scale error

I'm trying to print an Image and/or Canvas with ActionScript - however scaling doesn't work. I'm trying to scale down the image/canvas to have it fit to page. During testing it seems that Flex doesn't care if I set the size of the Image/Canvas trough width/height properties or scaleX/scaleY properties, it just chooses to print the conten...

show border on rollover and select the thumb on click and unselect pre selected thumb

I have some small canvas, and i have to show border around them, i did that using rollover and rollout evenets, (these canvas hold product images), here rollover and rollout are working perfectly fine, but when a user clicks on some canvas, it has to be selected, means it has show the border around it, and rest canvas should work as norm...

Flex3 Proble result not appear in explorer

I beginer in Flex.Im using Flex3.2 eclips Ide. i wanna create arc/curve . There is no error in my code. But after run that there is no any result appear in explorer . Can any help me . The code is bellow public var a:Number=45/360; public var b:Number=165/360; public var c:Number=285/360; private function start():v...

Problem using Flash/Adobe Air 2.0 Sockets

Hi, I'm trying to write some data to a raw data socket(around 22 MB's). The scenario is such:- 1. Open local file 2. Read a chunk of bytes. 3. Write it to the Socket 4. Repeat 2 & 3 until the end of the file. Now the problem is that my code(Below) is not transferring the complete file. It transfers maybe 3 out the the 22 MB with my t...

How to detect camera un-plug in as3

Hi, I am facing problem with camera unpluging in as3. After detecting camera if I unpluged it then also in as3 can't recognise this unplug.Any solution? ...