Let's say I had an ArrayCollection like this:
public var ac:ArrayCollection= new ArrayCollection([
{item:"dog", group:"Animals"},
{item:"orange", group:"Fruits"},
{item:"cat", group:"Animals"},
{item:"apple", group:"Fruits"}
]);
How would I create a Tree component in...
Hi all,
When I customized the ColumnChart in Flex by overrided updateDisplayList function, colors in legend no longer display. As you will see in the below picture:
http://i41.tinypic.com/mim35d.png
Does I missed anything?
Thanks.
...
I have a group of controls and I want to organize them in a table like fashion. I want 1 row and 6 columns. Col 1,3,4,5,6 should all auto size to the contents and col 2 should take up the remaining available space. When the size of the group changes, only col2 width should change. I also want to be able to set the alignment of each c...
i try to make a login sistem in flex, and my app looks like this:
i have a main.mxml. when the app loads, a function named "start" is called. it verifies if the user is logged in or not. if "true" the user is redirected to a dashboard, if "false", a component named login is loaded.
my login.mxml component has 2 input boxes (user & pass...
What are the Advantages and Disadvantages over the Bitmap and MovieClip in Flash.
Give me your thoughts.
Thank you
...
I have a LineChart continaing 6 lineseries. I should be able to pass parametrers to server using HTTPservice. But then the returned XML may contain information for a single line series or for all the lineseries. The problem, if we have a value for a single lineseries , the legend should contain also only one item and similarly for multip...
How can I secure an aspx page that is called by a Flex application of ours? It has to be secured for the whole application, not for particular users.
Is it possible to give credentials with the Flex Call? In Asp.net, only some five aspx pages need to be secured. The amf calls are already secured.
I do not want a popup to be displayed w...
im new to flex, so naturally I would just create a dynamic sprite using the drawing api and put it behind the text... but my app is really buggy using the rawChildren to addChild.
So is there a better way to have a bg for a piece of text though actionscript?
like modifying an existing component?
...
I'm developing two DataGrid with drag and drop support. Multiple items can be selected from the source data grid, and dropped into the target data grid.
I'm using an drag and drop event listener which completes the operation only in certain cases. I'm using event.preventDefault() but it doesn't work, since it stops the drag and drop fr...
I have a CustomTextInput component based on TextInput (Spark) component. The instance of this class is placed on a popup window (TitleWindow).
How can I capture the popup move (dragging the title) event inside CustomTextInput implementation?
MoveEvent.MOVE event of the CustomTextInput itself doesn't work. Of course, I can't access the ...
Hi everybody,
I have a flex app which allows user to create some content. this content will then be sent via xml back to the server:
private function saveBackXMLToServer():void {
var params:Object = {};
params["xml_file"] = XML_content();
http_Service.send(params);
}
My problem is, that the...
Hi All, I'm having a problem with labels disappearing on Flex's datavisualization.swc charts that are built on our build server via ANT and the Flex 3.3 SDK. I've made sure that our license is applied properly on the build server (hence no water marks), and I've made sure the exact same datavisualization.swc was copied from my dev machi...
For an internship, I'm gonna have to develop a desktop application. The focus is creating a rich UI ( cool effects, sound etc ). Which tech should I go with ?
- Flash ? ( in this case, shoud I go with a flex project ? AIR ? what is the gain between this and a simple raw flash project )
- C#/Silverlight ?
Any other possibility ?
If expe...
Hi there !
As far as I know, the support for library://ns.adobe.com/flex/halo namespace has been dropped, and now we have to use library://ns.adobe.com/flex/mx instead (reference). Can someone provide if there's any difference between the two namespaces?
I am just starting to learn Flex and this change make me confused. For example, i...
I've been tinkering with IExternalizable, but I've noticed some unexpected behavior. I've got this class:
public function readExternal(input:IDataInput):void {
input.readObject();
input.readObject();
input.readObject();
}
public function writeExternal(output:IDataOutput):void {
output.writeObject("first string");
ou...
I have just tried setup unit testing in Flash Builder 4, and it working nicely.
A setup of a parallel test source structure and using Flash Builder 4:s new TestCase and new TestSuite I was up and running with some testcases within minutes.
But now I want to compile them from a ant flex task, the Flash Builder generates FlexUnitApplicat...
I have a DataGrid and I set the DataProvider to my data. When my data changes the DataGrid loses the selected row and the scroll bar jumps back to the top. How do I maintain the selection and scroll position?
...
Hi there!
I have an hierachical XML data, and I want to display it as a tree. The XML data is something like this:
<services>
<service name="TestService" endpoint="">
<method name="sayHi">
<parameter name="firstName" />
<parameter name="lastName" />
</method>
<method name="sayGoodbye">
<parameter name="...
I have an LCDS server sitting behind a corporate proxy/firewall.
I need to use a configured HTTPProxyService on the LCDS server to make requests out to beyond the firewall (can't go directly from the client because of crossdomain.xml issues)
How do I configure LCDS to use the corporate proxy on it's outbound requests?
...
I have item renderers in an mx.controls.Tree that I need to refresh on demand.
I have code in the updateDisplayList that fires for only some of the visible nodes no matter what I do. I've tried triggering a change that they should all be listening for; I have tried clearing and resetting the dataProvider and the itemRenderer properties....