Hi All
Searching the web there are hundreds of answers to why getDefinitionByName doesn't work - because the class definition that you are trying to get is not included in the swf.
This is not that problem.
My app is loading a swc at run time, unzipping it, reading the xml and displaying a list of classes that were in that swc. You ca...
This is in reference to My Other Question
How do can you detect and dispatch an event when a drag and drop operation ends prematurely?
I need to know that the user is no longer dragging an item. Even if the dragDrop and dragComplete events do no fire. Its almost as if I need to add an event listener to the dragManager, but that's not ...
I've started with Flex recently, I've noticed that some plugin for Visual Studio exist, instead of buying a licence for another program (Flex Builder).
I was wondering how I could manage to remotely connect to my database with a Flash/Flex application with the help of C#/Asp.Net.
If I've correctly understood what I've read in the last ...
I just started using Swiz, and, it seems like Swiz forces you to create classes with weak encapsulation. Swiz requires all event handlers to be public in order to mediate events.
Assume that component 'A' dispatches a few events, which I want to listen to in component 'B'. Traditionally, I'll just add event listeners on 'A' in 'B' and a...
I have a tile that has verticalScrollPolicy="on". Inside this tile are multiple panels, which are actually instances of a module that I've defined. The scrolling on the tile works fine when my cursor is over one of these panels, but it doesn't scroll if my cursor is just on the tile, not over one of the panels. There is space between ...
How can I tell when a user has been idle for say 5 minutes on my Flex app?
When I say "idle" I mean the user has not interacted with the application at all.
Thanks!!
...
I have a timer event that updates certain things in my app (from a PHP Service) every 5 seconds. Every time this timer ticks, it makes the cursor blink to a clock and then back to the arrow. Since this is happening every 5 seconds, it gets pretty annoying. Is there a way for me to prevent the cursor from changing when the timer ticks?...
I'm using flex to develop my first desktop app and I'm working with sqlite for the first time as well.
I'm creating my database and all the tables and I would also like to add a few rows of data into a couple of the tables so that the users have some data to work with on first install.
The only problem I'm having is every time I run ...
I'm developing an AIR application which uses multiple windows. I'm running into an issue where I want to open new windows (toaster notifications for example) when the primary application window is not visible, but the behavior is different depending on how the window is closed.
When a user hides all application windows with CMD-H, openi...
The title says it all. The following code produces a failed test, not a passing test (as I would expect):
[Test(expects="Error")]
public function someTest():void {
throw Error("this test doesn't pass");
}
...
I'm using flex to develop my first desktop app and I'm working with sqlite for the first time as well.
I'm creating my database and all the tables just fine, but I would also like to add a few rows of data into a couple of the tables so the information is present on first install.
The only problem I'm having is every time I run the pro...
I'm building my first AIR application after two years of building Flex applications with a SQL Server database, using ColdFusion CFCs and .NET as WebService interfaces.
I want to create an AIR application with static data and I'm trying to figure out the best way of doing this, and how to do this. I have several related pieces of data.
...
I've got a SWFLoader aligned to the center of an App like below:
<mx:SWFLoader id="imgLoader" scaleContent="true" width="100" height="100" horizontalCenter="0" verticalCenter="0"/>
The problem is that when I load new images of various sizes, they are not aligned to the center of the app. If the image is 10x10 pixels it is aligned to 0...
I generated swf file from flex builder but not using AIR
i have a data.xml file but flex builder`s generated swf file cant read the data xml file
swf file and data.xml file are located into same directory
how can i solve file?
...
I'm currently building an application that is presenting tabular (fetched from a webservice) data and have squirted it into a datagrid - seemed the most obvious way to present it on screen.
I've now come across a few limitations in the datagrid and wonder how I might move forward. As a relative newcomer to flex development I'm a little...
What differences are there betwee Flash CS4 and Flex, besides the GUI of Flash?
...
Hi i have added a control with the help itemrender in my datagrid. but there is a problem that
in time of execution it comes two times at init and creation complete event of that control
which i added in my datagrid column.
Thanks
Atul Yadav
<?xml version="1.0" encoding="utf-8"?>
<mx:DataGridColumn xmlns:mx="http://www.adobe.com/200...
In Flex there is the ViewStack component. Does C# have a similar control?
If so, which? If not, how do you create similar behavior?
...
Hey everyone,
I am trying to retrieve the ByteArray from a file selected using the FileReference class so that I can pass this to a Web Service call that I am making to Sharepoint.
Is there any way I can do this using Flash Player 9 without having to upload to a remote server first and then downloading the file to extract the ByteArray?...
I'm trying to use XML to convert the code that a Flex RTE creates to valid HTML. No problems on other HTML elements, but difficulty with unordered lists. I created a solution for moving consecutive LIs into a UL node. After trial and error, I came up with the following solution. My question is - surely there's a better way to do this...