flex

Memory leak in Flex Charts

Hi All, I have created a UI that displays 3-4 charts in the UI. I notice the following As soon as these charts load up the IE memory shoots up to around 400 Mb which is understandable because some of these charts are like tables displaying upto a thousand rows. I notice the more I refresh these charts the more IE memory increases. ...

How to embed xml into swc file

How can i embed and then read a xml file from and into a .swc file? ...

mxml code for linking page

i am designing website by using adobe flex builder i want know about how to link to one mxml page into another mxml page please provide mxml code ...

Creating Empty Datagrid inFlex

I have a flex datagrid in a popupwindow.That datagrid should be empty means there is no dataprovider.User will provide data.For that purpose I have to make datagrid columns editable.I tried with editable property.It is not working.And also one more requirment is whenever user completed entering of first row data,next row has to be displa...

Subclipse installation in Flex Builder 3

Hi Friends , I am getting an error in subclipse installation in flexs builder 3 professional "No Features found on the selected site. Choose a different site or site category." In past also, I have successfully installed sunclipse on FB3 taking help from links like 'http://markstar.co.uk/blog/2009/flashplatform/installing-and-using-s...

Flex 3 event bubbling set to false.. how to make it bubble then??

I have a flex app with lots of nested views and popup windows.. I'd love to catch all the CHANGE events in the application at the top level.. all of them, simply to notify the user that he has changed something (trust me it makes sense in my app). Now, I tried to add an event listener in the Application creationComplete handler like thi...

showing a users list from FMS to the swf; use shared object or just call all clients on Connect/Disconnect

I want to add a users list to simple chat, and I'm thinking if whether there is a difference or is it the same thing (speed) if you have list of users on your server and you update it and call all clients and send this list when somebody connects or disconnects or use a SharedObject instead and handle the sync method on the client So is...

Flex: Display Color Coded XML?

Is there a component anyone knows of that will take XML and display it has a color coded string so you can read it easily? My app runs mostly from the dynamic XML that is loads. It would be great for debugging if I could click a button in the app to show me the XML it loaded in a readable format. Thanks! ...

Cairngorm Framework

Hi All, I want to learn cairngorm framework. Can any one please suggest to me which tutorial makes it easy to understand the cairngorm framework, and please provide me the links of the tutorial. Thanks, Ravi ...

Undo, redo functionality with image manipulation in Flex

So I managed to learn some Flex and created a small app that: Loads an image to an Image component Transform the image (rotate, flip) with the Matrix Apply filter(s) Now I am thinking about to create some undo redo functionality. Each time I do a transformation / add an filter I want to be able to go back to the previous image (befor...

Flex: Expose component's existing events with new name

I created a flex component that hosts several built in (mx) components such as a listbox and combo box. My component relies on external data, and I need to expose events such as ComboBox.enter and List.click to get certain pieces of data. I was wondering if there is any easy way to do this without having to create my own custom event h...

How can I access the test name of a FlexUnit 4 test?

In FlexUnit 1 it is possible to access the name of the currently-running test using the TestCase.getName() method because all tests subclass TestCase. In FlexUnit 4, however, there's no base class for tests; the tests are identified by annotations. So, how can I replicate the getName() functionality in FlexUnit 4? ...

DTOs and interfaces

I recently ran across this pattern(?) in our code and wondering how it is useful, if at all. We have a Spring app and a Flex front-end using BlazeDS. It was decided that we use interfaces on our DTOs, like so: Java public interface ISomeDTO { Integer setId(); void getId(Integer i); } public class SomeDTO implements IS...

[code] inside package

hi, Similar to the [Embed ()] tag I know from flex ¿ what's for the following code: [Event(name="init",type="flash.events.Event")] [Event(name="ioError",type="flash.events.IOErrorEvent")] [Event(name="securityError",type="flash.events.SecurityErrorEvent")] I've found this in several libraries I used, the one show here is from Flartoo...

Flex Code Generator based on XML or Database Structure

I don't know if it exists some code generation method for Flex based on XML or Database Structure. For example, we want to manipulate a table in the DB, the most common task is (View/Insert/Update/Delete). And when we have more than 100 fields on the interface, it's rather boring to type them manually in Flex. Is there some ways to gene...

Preferred Socket Policy File Server Implementation?

I'm trying to get my Flash application to connect via socket to my server, so I need to set up a socket policy file server. It seems like there are various roll-your-own implementations floating around out there, but is there any kind of standard or best practice with what to use? Some google searches turned up nothing, so I'd be curio...

Flex LineSeries interpolateValues as ZERO?

In a LineChart in Flex you can set a LineSeries to interpolateValues="true" what this does is connect missing values so you do not have gaps in your line. But what I would like is for it to insert 0's for the missing fields instead of drawing a direct line to fill the gap. Is there a way to set it to do that? Thanks!! ...

Flash Preloader with dynamic/random text from file

I would like to have a preloader, which displays text from a text file in random order. So let's say I have 15 lines of text in the file, and the preloader displays one randomly each 3 sec (till the App is loaded). I only found a solutions where you always need to recompile the preloader when the text file changes...that's what I want t...

Flex - Problem with ResizeEvent.RESIZE

Hi Guys, I'm having a little problem with my resize event... I created a component myself, and this component, at each resize event, runs a complex method. Here is the problem: When I maximize or restore my window, this event is called several times in a real short period of time, not letting enough time to my method to run completely be...

Tree Show toolTip during drag

I am denying a user the ability to drop into my tree during certain conditions, it's all going well, but I want to tell the user why I'm denying the drop. I would prefer to do it with a toolTip, but it doesn't seem to work. Can I not have a toolTip during a drag operation? How can I force one? Flex seems to treat toolTips as a property...