flex

Flex Tree/Branch Diagramming/Graphics

Hi, I was wondering if anyone had access to source code that would allow me to draw lines between objects. I have examples of the standard one line between 2 objects. What I'm looking for is an example of how to draw a branching line. I.e. Starts as a line coming from an object and then branches out to other objects. I don't want to dr...

Can I override the mxml request in an HTTPService? How?

I have an HTTPRequest in mxml that has an mx:request defined inside it. I use the info in the mxml request 99% of the time (I thought it was 100% until I found this bug). So I need to send the HTTPRequest with one of the items in the request different. I tried using the send() method and sending my own object, much like you would if no r...

Programmatically Upload larger Files in Flex

Hi, I created an application as part of an ASP.NET site. I would like to receive error notifications in my inbox whenever something goes wrong with that flash application. As I do not have control over our mail server (which has a different domain name), I cannot establish a cross domain policy allowing me to send error emails to my in...

implicit coercion when using popupmanager in flex

I had to reformat my question because I realized I was using incorrect flex method. But still a similar issue occurs: private function passForm():void { PopUpManager.addPopUp(passTitleWindow, this, true); PopUpManager.centerPopUp(passTitleWindow); } <s:Button incl...

Increase the height of dropdown box for AutoComplete

I am using the AutoComplete component in my Flex website. Everything is fine, but there is one issue. If i type something in the text area, and the items that are searched are alot, i want to increase the height of the dropdown box. I am unable to figure that out. below is the code to my autocomplete <auto:AutoComplete borderStyle=...

Error in using "removechild"

Below is my code, and the question is explained after it. <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cal="cal.*" layout="absolute" applicationComplete="init()" xmlns:geometry="com.degrafa.geometry.*" xmlns:degrafa=...

How to fix ComboBox dropdown issue in fullscreen?

Short version: ComboBox's dropdown works and renders properly before fullscreen, but not during or after. I'm not totally sure how to ask this, so I've actually made a page demonstrating the error, with a very simple Flex app, and all three directions you need to experience the problem yourself. For those of you not daring enough to fo...

Cannot add child components to custom containers in Flex 4

Hi, there, I have a question about custom containers in Flex 4. For example, I extends DividedBox named FrameBox only changed the color of dividers, and I used it normally as the DividedBox. But I cannot add any components into it. In design node I can see these components but cannot see them in Flash Player. It seems the box's z-index i...

How to pass an array in AS3 to an array in php?

Hello friends, I have the following array as3 example: var arrayDefinitionsargsAmfPhp:Array = new Array(); arrayDefinitionsargsAmfPhp['tabela'] = "controls"; arrayDefinitionsargsAmfPhp['width'] = "100"; sending him to the remote object for php, example: async = bridge.getOperation(amfphpFunction).send(arrayDefinitionsargsAmfPhp); I...

Retrieving a single cell value from a datagrid in Adobe Flex

I'm using CF to retrieve values from a database that are then being stored in a datagrid in Flex. I then want to selectively take the value from one cell of the datagrid and store it as a string variable. I've searched around, but I haven't been able to come about a solution. The users will not be interacting at all with the datagrid as ...

How to get the reference to a newly created Button with Actionscript?

I have a MXML button: <mx:Button id="myButton1"/> How do I create N number of Buttons with Actionscript: myButton2, myButton3, myButton4... myButtonN ? And how to get the reference to the newly created buttons right after they are created? Like I should be able to do myButtonN.x = 100 right after it's created. ...

Flex: Menubar, menu click

I do not know why but I see that itemclick event on a menubar do not fired unless you click a sub item. What is the clean way to handle clicks on menuitems which are on the top level and do not have sub menu items. For example I want to fire an event whenever MenuItem B is clicked. <?xml version="1.0"?> <!-- menus/MenuBarControl.mxml ...

how to create up/down movement of sprite with as3 with a mouse

I need to move a sprite only vertically on mouse move. How do I implement it with as3? Thanks ...

Flex Tree, Slelecteditem == XML(node);... BUG??

when i selected a XML node to tree by doing... i am using flex SDK 3.5 it was working fine in SDK 3. tree.selectedItem=XML(node); and then get.. trace(tree.selectedItem.toString()); i get error that object is null... ...

ActionScript3: Load XML located inside .swc

I have written a Flex Library project - a .swc file - which is supposed to read default configuration from a XML file inside .swc. This .swc file would be used by other modules to perform some operation. I am unable to make the URLLoader to load the XML inside the .swc file. When i run this as a normal Flex project, things work fine wi...

Flex: linking dataProvider with custom itemRenderer in a DataGrid

Hi there, Im working at a DataGrid which has a custom itemRenderer with a checkbox and a Label inside. Im struggling adding the the values from a xml to the wright label dynamically... how can I make the connection from the datagrid's dataProvider (a xml doc) to the label and the checkbox? My itemRenderer loks a following: <mx:Componen...

Flex and DjangoSoap - Flex not sending strings to the soap methods correctly

Hi I am using Flash Builder 4 to connect to a django web service that is using the djangosoap code. The django web service appears to be working correctly when tested with a soap client. However the flash builder 4 generated soap classes don't seem to send requests correctly. I have a say_hello(name) method that takes one string parame...

Flex webservice request

I am having a small problem with a soap request in flex. If i use a third part tool like .NET WebService studio the request is: <?xml version="1.0" encoding="utf-16"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchem...

Flex HDividedBox Divider backgroundColor

Is there an easy way to set the backgroundColor of a HDividedBox's (or VDividedBox's) BoxDivider object(s)? A BoxDivider is the "divider" that has the drag handle on it. By default, the BoxDivider is transparent with the little handle image on it. There is a dividerSkin style that defaults to mx.skin.BoxDividerSkin which is a reference...

why startDrag() and stopDrag() don't effect the x,y coordinates?

when I use startDrag() and stopDrag() to drag an object why doesn't it effect the x,y coordinates of the object? you can run this example and see for yourself (move the circle and look at the trace messages): <fx:Script> <![CDATA[ import mx.events.FlexEvent; private function mouseDown(event:MouseEvent):voi...