Hi All,
I am wondering how will i proceed with the following requirement. I need to create a line chart of business data of the last 8 quarters. It is easy, but the requirement is that, there should not be a connection between last year's Q4 and this years Q1. In effect, using the same array collection i need to split the line chart so ...
I'm aware of PopUpManager and that custom modal windows can be created.
But let's say I have a simple Canvas(or any component) and when I show it the background needs to be blurred out like how PopUpManager does when a new pop-up is shown.
Is this possible?
...
I've been looking to clear an array in ActionScript 3.
Some method suggest : array = []; (Memory leak?)
Other would say : array.splice(0);
If you have any other, please share.
Which one is the more efficient?
Thank you.
...
I have a component that, on creation, dispatches two events to populate data fields. The events should remain separate because they're used elsewhere for distinct actions.
I want to write an asynchronous flexunit test to confirm that these events are both sent. The problem is, they're both variants of the same event.
Here's the code:
...
Hi friends,
Is there some way to have a tab navigator in flex where each tab width can be controlled explicitly ?
Thanks in advance.
...
Hi all,
I'm using an advanced datagrid in a system I'm building.
the design PSD from the designer includes a special background on rollover.
So, I need the background of the cells in a row to get the background from an image, only when the mouse rolls over a specific row.
is this even possible?
can a row get the background from an im...
I'm trying to encrypt/decrypt files in flex (AIR) using the as3crypto package.
the problem is that when attempting to process slightly large files (over 5M) the process time gets ridiculously long and the client freezes (get the "not responding" title)
so i tried to go Async and encrypt/decrypt a chunk at a time and interlace it with the...
I want to run some code whenever a DisplayObject is added as a child to a DisplayObjectContainer.
Or to put in other words, to catch the addedToStage event of all DisplayObjects, even ones I don't know about.
Is it possible? and if not, any ideas on how to do something similar?
...
Hi all,
I am using the Flex Builder 3 debugger almost every day and it's starting to be a real pain that the 'Variables' tab in the 'Flex Debugging' view doesn't show local variables, only 'this' is displayed.
Also I can not add Watch Expressions for local variables.
Am I forgetting something here or is the debugger just very limited...
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
...
Hi guys,
I have a column in a data grid that has the values of "Monday", "Tuesday" etc, as varchars, and I wanted to know, how do i sort the column to be in the correct order. Doing a normal sort doesnt work obviously, as the days are not alphabetically ordered naturally (Wed after Thurs). I am assuming some sort of itemrenderer, but any...
Hi! I'm workin in a degrafa project and i want to rotate a RegularRectangle. I can do it around one center for the transformation, but I would like to add another transformation. I mean, imagine that I have two circles. I would like the rectangle to rotate around the first one, and when I click a button it should rotate around the second...
This is a screenshot of the canvas.
I have a visual objet - circle table. It has circles around it - circle chairs. On those chairs a user guestIcon object by dragging it onto the chair. guestIcon has a label child visually near the chair itself. I explicitly assign a hitArea for each chair (and a guestIcon object has a hitArea too, whi...
I'm working on important project using Flex framework and i want to keep my algorithms and code secret. Is it possible to somehow protect swf file from being decompiled? I don't want someone extract my code using flash decompilers.
Thanks.
...
I am considering creating a website with the complexity of Facebook that should be able to scale into the millions of users. My question is: Is there any reason not to use Adobe Flex for such large project apart from the obvious point of requiring everyone to have Flash installed and not having to rely on Adobe? In my view Adobe Flex wou...
Hi there,
I'm using the 'text properties' of two Labels and a 'Http Service Call' with an 'resultHandler' getting some Xml from my Php script.
This code As Is was working perfectly fine and while working on some other modules I had to clean the Application and at some stage I noticed that the title and fullName was showing up at times ...
Hey,
I've made a custom compontent wich mails your own drawings to you. But I have a problem to send an e-mail with attachment.
I use the HttpService to send the data to the php-file, but I always get the Fault message (form phpFault()).
This is my code in Flex:
<mx:Script>
<![CDATA[
import mx.rpc.events.FaultEvent...
I'm traversing the children of an SWF loaded using flash.display.Loader, in an AS-only project under FlashDevelop.
Calling flash.utils.getQualifiedClassName(obj) on the object returns "mx.core::UITextField" and while it is a subclass of flash.text.TextField, Calling (obj is flash.text.TextField) returns false.
Any insights on that?
Am ...
I have written a utility library that contains some of my most used functions.
There I have a wrapper for ResourceManager.getString to simplify using the resource manager in non-UI classes:
package
{
import mx.resources.ResourceManager;
/**
* Convenience function to return a localized string
* */
[Bindable("change...
ok I have a subclass of TitleWindow with this method:
public function launchInNewWindow(e:Event):void
{
this.parent.removeChild(this);
ownWindow = new Window();
ownWindow.systemChrome = 'none';
ownWindow.type = NativeWindowType.LIGHTWEIGHT;
ownWindow.transparent = true;
ownWindow.setStyle('showFlexChrome', false)...