flex3

Which version of Flex Builder do I need?

I have a Flex project that I need to work on that using some mxml elements which I believe are charting related: Pie Chart, and some LineGraphs. Do I need to buy Flex Builder Professional to compile the project, or will Standard work? On a related side-note, the Adobe website is brutal. I was going to use Eclipse with the SDK but the in...

Advanrtages of Flex3 over Flex 2

Hi, Can anyone explain the main advantages of Flex3.0 over flex2.0 ? (not advantages of Flex builder). Thanks, Ravi ...

Flex External Configuration File..

My problem: I have a program in Flex3 that accesses a server. The program itself is on a server and accessed through a web browser. The point is that I don't want to hardcode in the swf file the IP of the server to access, since it changes and for various other reasons... How can I do that? Can I put a file in the same directory and wha...

How to create a "spacer" in a Flex LinkBar?

I was trying to achieve the following: create a LinkBar with the width set to 100%, and put 4 LinkButtons on the left side, and the 5th button needs to be placed to the right side. At first, I was trying to put 2 LinkBar controls in a HBox, however, this seemed to corrupt the flex application and caused a blank screen. Then I tried to pu...

Problem with Flex Builder

Hi, I have created on sample mxml application. While running the application, getting error: File Not found: in bin-debug folder the mxml is not compiled to html. Suppose i have created file name: newFlexTraining.mxml.when i run this mxml, getting error, newFlexTraining.html is not available in bin- debug.I checked in bin-debug folder...

Modifying AMF response at runtime - How to?

I have built a simple flex application (using BlazeDS) which displays "Person" details by invoking a java service using flex remoting. So, my Person class looks something like this: class Person { public int age; public String name; } As a java developer, here is my understanding: When I run the front flex app in my webapp, an RPC c...

Flex tab navigator: initialize hidden tabs.

My problem: I have a tab navigator, with many forms in each tab. But I have a single global save button. Problem is, if I don't open a Tab, it doesn't get initialized and therefore the forms it contains do not exist.. How Can I make it as if the user had clicked on every tab? ...

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...

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 ...

Tree Component Item Rendering

I have created a MyTreeItemrenderer extending TreeItemrenderer. However, I do not want any label, folder, disclosure icon nor icon. I want to dispaly every node of the tree with my own graphic like eg: a line, round image etc., Kindly help me getting the solution. Thnaks in advance... Narender R ...

Flex and source folders in bin-debug

Is there a way to avoid the copy of the empty folders, based on the current source library structure, in bin-debug folder? I'm using Flex 3.2 Thanks ...

datagrid and horizontalScrollPolicy

look at this code: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" horizontalScrollPolicy="off"> <mx:VBox horizontalScrollPolicy="on" width="100%"> <mx:DataGrid> <mx:columns> <mx:DataGridColumn width="5000" /> </mx:columns> </mx:DataGrid...

Tree Component Drag And Drop Related

I am having a tree which has some root nodes and internally some child nodes. We can drag and drop between these nodes by enabling inbuilt properties like dragEnabled="true" dropEnabled="true" dragMoveEnabled="true". However, My requirement is that, while i drag and move a child node to upper side, It should not be dropped above the Root...

create HBox component with default values

I want to create a HBox component name for example HLBox that behaves exactly like an HBox but ha s as default width and height 100%. How can I do that? ...

[Inspectable] metadata tag

Hi, Anyone can explain briefly about the [Inspectable] metadata tag. I read and could not understand in live docs. Please help me when we are going to use the [Inspectable] metadata tag? Thanks, ravi ...

Internal Drag and Drop in Tree Control

I have written a custom Itemrenderer for my Tree control, i.e., MyTreeItemRenderer. However, once i am providing this custom renderer for my tree control do I have to handle the drag and drop functionalily separately myself as i am getting an error, null object reference while dragging and dropping within the tree control. ...

Tree Drag and Drop Functionality

label1 | |_*label2 |label3 |___label4 |___label5 I want a tree in this structure, having line between the nodes, also, instead of Open and Close Folders, I have added my own graphic there with label. I did by extending TreeItemRenderer Class. Now, I if iam dragging and dropping a child node ex:label5, and try i drop it above label1 ...

Flex Line Chart Control

Hi , I have drawn a Line chart with some values from the backend and am also getting an average value where I need to show it on the graph and I need to make sure that its not part of the series as it could show wrong data since average is not part of the line series currently getting displayes . Is there any way that i can display a p...

Illegal cyclic loop between nodes?

I am trying to loop through an XML file. As for the first loop everything works fine, but when the program enters the second loop it gives an error saying that TypeError: Error #1118: Illegal cyclical loop between nodes. at XML/http://adobe.com/AS3/2006/builtin::appendChild() Can anyone help me regarding this issue and suggest how to ...

Story of a mysterious bug Flex/ Actionscript

Suddenly Flex seems to dislike variable declaration. For example I write (on the script part of a mxml component) <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; var i:int = 1; while(i< 9) i++; [Bindable] public var evolution:ArrayCollection = new ArrayCollection(); ]]> ...