flex3

How to create fluid layout in Flex3? With an Example.

How to create fluid layout in Flex3? With an Example. Thanks for your reply in advance. ...

Component names and ids in Flex and Actionscript, where do they come from?

To illustrate my question. Assume the following code snippet: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt; <mx:Script> <![CDATA[ import mx.controls.Button; private function createButton():void { var myButton:Button = new Button(); myButton.label = "...

Can I open a browser window to view an image created by a flex 3 application?

I have a flex 3 application that creates an Image from a canvas which the user draws on. I use the ImageSnapshot class to create the image var imageSnap:ImageSnapshot=ImageSnapshot.captureImage(myCanvas); var imageByteArray:ByteArray=imageSnap.data as ByteArray; I want the user to be able to print or save the image. I can use the ...

Place an 'addChild' button into grid space of TabNavigator

This question is similar to the post: "Move Button into grid space of a TabNavigator’s tabs in Flex Builder." http://stackoverflow.com/questions/1150835/move-button-into-grid-space-of-a-tabnavigators-tabs-in-flex-builder but with a slight difference. I wish to have a button that adds a child (tab) to the TabNavigator in the grid spac...

Flex RemoteObject Source not found

Our flex project, which works fine in its current environment with coldfusion 7 single server. We moved this project to Coldfusion 8 multi server, and updated the remoteobject paths relative to the web root. The error we now receive is faultCode:Server.Processing faultString:'Unable to invoke CFC - Could not find the ColdFusion Comp...

DataGridColumn with ItemRenderer, how to set dataProvider properly?

I'm building a DataGrid to display data similar to the following XML: <foo> <entities> <entity> <name>Jim</name> <trend> <quantity>10</quantity> <quantity>20</quantity> <quantity>30</quantity> </trend> </entity> ... </entiti...

Flex 3: Data assignment to a subcomponent fails in an MXML component in the action script block

Hi there. I'm trying to propagate an assignment to the data parameter of a sub-component through it's parent component's setter. Like this: <CustomComponent xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="components.*" > <mx:Script> <![CDATA[ public override function set data(val:Object):void { ...

Flex Custom UIComponents

I have created a graph component in AS3 which extends UIComponent. I created an mxml component which is just a Label. The idea is to use the label component to show the values on the graph when you hover over points. I have tried two approaches. Create the Label component using ClassFactory inside the graph so it gets created in the g...

how do I indicate an unset default parameter of type Number in Flex3?

for String and Object type, I can set the default parameter to null to indicate that it was not set by the caller. Is there a mechanism in flex3 to do the same for the Number type? So for instance: public function myMethod( stringVar:String=null, ObjectVar:Object=null, numberVar:Number ) { ... } I could do the followi...

Flex AdvancedDataGrid - setting the correct sort function at runtime

Using Flex 3.2, I have a object which extends a TitleWindow. In this TitleWindow I have an AdvancedDataGrid. On creation of this object, I pass it 2 lists, one full of data to display, and the other I pass an array of column definitions. This allows me to, at runtime, create the correct columns and define the correct display attribu...

How can I get an instance's "memory location" in ActionScript?

FlexBuilder's debugger will show you the "memory location" (or, I can only assume, something roughly analagous) of any in-scope instance: But I'd like to get this information in code (sort of like Python's id function), so I could very easily trace how objects move through out the system. For example, I might have: trace("Returning"...

Flex App getting data from MySql via PHP - Examples

Hello guys. I'm learning Flex, I already know how to submit data from a Flex App to a MySql DB using PHP. But thats easy, but getting data... Thats a different story. This isn't a question for sort of speak, its a request. I wanted to ask to everyone that already learned how to do this, if it could send some Flex Projects (the ones yo...

asfunction in mx:html possible?

I have an AIR Application which uses the mx:HTML tag to load a webpage hosted by me. In my webpage, I want to invoke a function in the containing AIR application via javascript? Is this possible? eg: in my AIR application: public function goBack():void{ trace('invoked from javascript!'); } <mx:HTML id="coreHtml" width="100%" ...

Having rows with different number of columns in Flex Datagrid

Hello all, I am trying to understand if having different number of columns for different rows in a flex data grid is possible. For example, in Microsoft excel, you can select multiple columns and then merge them without effecting other rows that you did not select. Is something like that possible in flex data grids? Thanks in advance ...

Advantages to adding Spring to Flex

What are some of the advantages in adding Spring into a Flex / AIR application? And When would you recommend using Spring? ...

Can we use Flex 3.0 for ASP 2.0

Hi All, I am a Java developer with knowledge and experience in classic ASP 2.0. In our organization we have couple of products in Classic ASP 2.0 built some 6 years ago. We want to have new functions & modules built in Flex 3.0 (making use of rich UI) with in the existing classic ASP 2.0 Application. such that we dont reenginre the ent...

Any body have a flex 4 new feature list?

Whats new in flex 4 and better than flex 3? ...

Disadvantage of using multiple moduleloader

Hi all,i want to ask what are the disadvantage of using multiple ModuleLoader?Does it increase swf size?What are the other disadvantage?Thanks a lot... ...

How does one disable deprecated warnings in Flex 3?

I've recently started working with an application written using Adobe Flex 3. We're using several deprecated functions and unfortunately we can't remove these dependencies. The documentation says to set -show-deprecated-warnings=false into the Compiler Additional Options. This isn't accepted, but I've found that using -show-deprecatio...

Switching Chart types on the fly

I'm working on a reporting app which displays incoming data as pie by default. We'd like to offer the user the ability to switch to bar, or column, or area, or any of the other charts with the click of a button. Since we already have the data in the app, it should be fairly simple no? Does anyone have an idea of how I might approach this...