I recently completed a project for a custom report UI in Flex. Now, I've been tasked with creating a new application that is essentially a "lite" version of the original UI. It will include only a few of the options that are in the original application. Also, it needs to be a separate application.
I do not want to duplicate my code, so ...
I have created a few Event and Command classes for use in my Cairngorm projects.
For example, I created an class that extends com.adobe.cairngorm.control.CairngormEvent that allows me to set callback functions upon completion or failure of the corresponding Command. To accomplish this, I also had to create a new Class that implements co...
I currently have a TileList with a custom itemRenderer based on a VBox. I have bound the DefaultTileListEffect to the itemChangeEffect property on my TileList. However, I've run into a weird problem when I drag an item to a new location in the TileList. When going through the sequence of events (in this case, FadeOut, Move, FadeIn) th...
Suppose I have one combo box and I am switching its data provider from oldDataProvider to newDataProvider with ActionScript. Both data providers are ArrayCollections. Then, when a change occurs in the oldDataProvider ArrayCollection, it affects the combo box, although it is not its data provider anymore. Specifically, when removing an it...
I'm trying to add a URL parameter to an URL string in ActionScript. Currently I'm checking the existing URL to see if it explicitly has a "?" to determine if there are any existing parameters to determine if my parameter delimiter should be "?" or "&". Is there a library or utility method in ActionScript which could simplify the code bel...
I don't know much about actionscript, can anybody throw me an URL on how to do this?
...
So I've got a simple web application using Spring MVC + Hibernate and am using the OpenSessionInViewFilter. I've recently been thinking of replacing the UI with something like Flex or GWT.
At first I thought it would be easy, in that I can just hit my service layer from the new front end. But as I consider this a bit more, I'm a littl...
I am tyring to learn flex programming myself. Below code gives me a warning
variable 'item' has no type declaration.
var xml:XML = xml as XML;
for each (var item in xml.employee) {
Alert.show(item.@name);
}
What is the type of variable item? I thought it was XMLNode, but it give me error. I want to remove the compil...
Usually validation message appears right to input field:
http://aralbalkan.com/wp-content/uploads/2008/01/better-flex-validation-errors.gif
But if there is not enough space to right, the message appears above.
How to make it always appear above? (regardless of free space etc.)
UPDATE
It would be great if I could leverage Flex built-i...
Hi All,
I have a Label in AS3 that I want to be selectable (.selectable = true) AND I want the clipboardMenu to show up on right-click ALONG with custom menu items.
If I do THIS:
var label:Label = new Label();
label.text = "test";
label.selectable = false;
var contextMenu = new ContextMenu();
contextMenu.clipboardMenu = true;
context...
Is there a way to change private static field of an alien class?
For example:
package mx.managers {
public class TooltipManager ... {
private static var _impl:IToolTipManager2; // <- assign my own value here
...
}
}
In Java it is possible to do it using Reflection API. What about Flex?
...
Hi,
We have a air/flex app that we want to add an effect to. Basically we want to rotate the whole window when a particular button is clicked. Similar to say how, the clock widget behaves in mac os dashboard when you click the 'i' button, the whole widget rotates.
I'm wondering if this sort of thing is possible in air/flex 3?
Thanks
...
I am communicating to an external server via a URLLoader and receiving the following warning:
Warning: Domain domain name does not
specify a meta-policy. Applying
default meta-policy 'master-only'.
This configuration is deprecated. See
http://www.adobe.com/go/strict_policy_files
to fix this problem.
The provided link r...
I have been struggling with this today for quite a while, removing everything but the default channels just to get it going. I have resolved all of my library issues (I hope) and now am getting the error below. I have also included my config files in case anyone can take a look at this. Thanks!!!
03:19:51,945 INFO [STDOUT] - Context in...
Hello,
I have a Flex component with a background image. The image is sharp in the beginning, but is jagged whenever I scale the component using scaleX and scaleY. How would I make the image anti-alias so that, it it's scaled to 0.75, the lines are smooth, not jaggedy?
Here is the image
Here is the scaled version
And the unscaled (good...
Allope,
I've recently bough Flex Builder 3 and I am completely dissatisfied with its reluctance to debug. It manages to debug a few times, but after that, it just doesn't want to "connect to the debugger".
Help?
...
Hello
I have canvas in my Flex project. Canvas have one child elements.
I mode the element to y=500 and see the scroller in my canvas
I drag scroller to bottom to see my element
I move element to y=200
After that the scroller is still on the same place. How I can update the scroller and move it to the top?
Thanks
...
Hi,
I would like to know how to apply gradient and corner radius in flex.
Is css the only way? I mean I want to use more of flex properties to make this happen
Can someone give a sample class or code for it?
Thanks
...
Hi,
I want to insert a bezier spline into my Canvas by this code
<mx:Canvas
id="graphCanvas"
width="100%"
height="100%"
preinitialize="preInit()"
/>
<BezierSpline id="mySpline" graphicsTarget="{[graphCanvas]}" data="points"
verticalCenter="0" horizontalCenter="0"
>
points is a string I initialize in the preInit() method
[Bin...
Can anyone explain me the difference of all and also an another question does Zend AMF support all these.
...