I have a function (call it funcX) that at certain times is being called on the enterFrame event. At those times it is extremely computation intensive and is for example using 70% of the available processing power of the computer or more.
Scroll events and other input events in the swf page are still being processed just fine. However,...
I'm aware that AMFPHP has long been used to connect php with flex. I remember I read somewhere that there's something better now, but I didn't take a note of it, and of course now I forgot. Does anyone know what that could be?
...
I'm building an Xml-driven application.
I create new states in a seperate actionscript-class.
These states all contain a DataGrid.
I can switch the states in the Main.mxml.
But now I would like to access certain children of the DataGrid. In this case I would like to toggle the visibility of GridItems, from a Button in the Main.mxml. ...
my date of string like (2009-12-03 21:05:00) date with time . so i used to store
var newdate:Date=new Date(Date.parse(startdate)); but shows some errors.
and also i tried to split string(date) used date function like
var datenumber:Number= (new Date(Date.parse(startdate))).getDate();
not get the date how can i split particular date ...
Hi,
I am doing dataTipFunction on Tree in Flex3 Air,
At present the tooltip hides the present node, i need to reposition the tooltip above the node, how can change the x,y position of the tooltip.
Thanks in Advance
...
Hello.
In one project, I have several similar applications, they just differ slightly here and there. Like some of the contained icons/images. To help organizing, I see myself [Embed]ing icons in a style like below, however the use of variables in the [Embed] metatag doesn't work.
The below code is contained in a custom component, so I e...
Hi,
I know that the question may seem very easy. I am trying to display an image on canvas.
I need to do it in AS, and also I need to locate image in specific coordinates.
Could you please suggest how to do it
...
I'm developing an application with TitleWindows that are created using the PopUpManager so they can be dragged. Buttons on a ButtonBar display them. After some testing, I found out that the error below is triggered when I am displaying the TitleWindow for the third time (not first or second, but only third) and I try to retrieve the Tool...
I am trying to determine what events I need to wait for in a test in order to ensure that my custom component has updated all of its properties. I was using VALUE_COMMIT, but for some reason that isn't working out for me.
So, I want some easy mechanism for tracing every event dispatched from a component. Is this possible?
...
Hi,
How can I get a standalone Adobe Air/Flex application to restart itself?
It doesn't work with the suggested solution on: http://www.colettas.org/?p=267.
Any help would be great,
Thanks.
...
I have a class like this. Property "isPag" is based on filed "ecboardid", I found that when ecboardid is changed, UI controls seem not be able to detect that "isPag" is also changed. So, how to make a property like this bindable?
[Bindable]
public class Encoder extends EventDispatcher
{
public var ecboardid : String;
/*-.........
How to make list items as tool tips for combo box items?
...
i have an xml which contains 'interface' sub tag, iam converting xml to object using SampleXmlDecoder. compiler did not allow me to access the value of the 'inteface' attrible of the resultobject.
var xml:XML = event.result as XML;
var xmlDoc : XMLDocument = new XMLDocument(xml.toString());
var decoder : SimpleXMLDecoder = new SimpleXM...
My problem: I have a program in Flex3 that accesses a server. The program itself is on a server and accessed through a web browser. The point is that I don't want to hardcode in the swf file the IP of the server to access, since it changes and for various other reasons...
How can I do that? Can I put a file in the same directory and wha...
I have recently upgraded from Flex SDK 3.3 to SDK 3.4. Now I suddenly get this error message throughout the application:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/focusInHandler()[C:\autobuild\galaga\frameworks\projects\framework\src\mx\managers\FocusManager.a...
I was trying to achieve the following: create a LinkBar with the width set to 100%, and put 4 LinkButtons on the left side, and the 5th button needs to be placed to the right side. At first, I was trying to put 2 LinkBar controls in a HBox, however, this seemed to corrupt the flex application and caused a blank screen. Then I tried to pu...
Hi guys!
I have an issue when consuming a web service from a Flex app.
In the backend I have a hierarchy, let's say I have an abstract class Fruit, and 2 implementations: Apple and Orange. Fruit has a property, name, Apple has a property color, and Orange has a property radius.
Then, I have a service wich returns a collection of Fruit. W...
I have control bar buttons Copy, Cut, and Paste and they suppose to copy/paste some text/objects from and to clipboard.
Copy/Cut works fine.
Paste using CTRL+V and context menu works fine as well.
But when I'm trying to access Clipboard via control bar button click handler it throws error
SecurityError: Error #2179: The Clipboard.gene...
I'm considering using Flash as the UI of a native Windows app, for several reasons, but before I dive in and start building, I figured I'd poll the community to find out whether anyone's got any good examples of this particular approach out there today, just to prove the concept satisfactorily.
So I guess that's pretty much the question...
I am building a flash application using flex. From time to time, I see an issue in IE 7 and 8 where the user logs into the site and the browser content pane is completely grey and the entire page (html, javascript and flash) won't load until the user clicks the X (Stop) button next the address bar. As soon as the X is clicked, the html l...