flex

Flex Actionscript project swf is not working after export the release build...

Hi guys.. I tried to built a project with AS3 only in Flex. When I run the project in flex, everything looks fine, but when I export the release build, the images that are supposed to be added are gone. I appreciate if someone can help me about it. init(); public function init(loadedVideoCount:Number):void{ ...

Creating a dynamically sized Flex list component

I know there are a lot of questions about dynamic sizes for Flex components, but this one is quite specific and the other answers aren't a whole lot of help. Briefly, I need a List that resizes to exactly fit its content, unless that height exceeds its (dynamically sized) parent container. My requirements are as follows: The component ...

Flash player on Ubuntu 10 not working after Flex builder installation

I've just installed Flash builder on my machine, which went ahead and installed the debug version of Flash on my machine as well. It appears now that this has broken Flash in my browsers or at least the browsers have no idea where flash is located on my machine. When I open a browser and navigate to a Flash page I get the message, "Alte...

Flex/mate: mate doesn't cache instance, created with Object Builder

If you once run an ObjectBuilder the object instantiated will be cached and next time you use an PropertyInjector or something else, the instantiated object will be used instead of creating a new object. Or at least this should be like this :) But in the example below it seems that mate tries to instantiate the object again: The follow...

Is it possible accessing the headertext of a datagridcolumn from its itemrenderer?

I have an itemrenderer used by multiple datagridcolumns and I need to have some condition in the itemrenderer based on the headertext of the datagrid column. Can I access the headertext property from within the itemrenderer? My itemrenderer extends the LinkButton control and implements the IDropInListItemRenderer interface. Thanks ...

Software evaluation licensing for Web Services

Hi all, We have developed a web application. (Eclipse - Dynamic Web Project). We are deploying it as .war file. We want to implement evaluation period license check on this .war file. (Most of the functionalities are Java SOAP Web services and Web UI is in Flex) I have written a Java code for generating the license file and thread for ch...

flex controlling application sound

I have a flex application in which multiple sound files are used in various parts of the application. Can i have a single sound handler, which will take care of volume control fo the entire application at once. How can i do that ...

flex TextLayoutFramework TextScrap how to access the textFlow of a PasteOperation

after reading http://livedocs.adobe.com/labs/textlayout/flashx/textLayout/edit/TextScrap.html flashx.textLayout.edit.TextScrap should have a public [read-only] property textFlow but it is protected in flex_sdk_4.1.0.16076... does anybody know how to access a pasted TextFlow? Clipboard.generalClipboard.getData("TEXT_LAYOUT_MARKUP")...

flex one axe charts ?

Hi, I want to create a simple chart, it looks like this (sorry for the lousy paint drawing) link to chart here how my dataprovider looks like : public var competitors:ArrayCollection = new ArrayCollection([ {period: "period1", startTime:"01/01/06", endTime: "01/07/06"}, {period: "period2", startTime:"01/02/06",...

Flex: Refreshing view when flex application is visible

Hi, Flex application is contained in one of the rows of a html table, and that row is hidden as per one use case. Flex application is refreshed when visibility of the row is changed to visible. This results in lose of data that is already entered in the flex application. Is there any way to stop this behavior? Can any one help me on thi...

Flex application font style is different between Flash Builder and MXMLC

The title says it all. When I compile my project with MXMLC I get a light grey font; if I specify a CSS style Application { color: black;} it fixes some of the colors but not most of them. When I compile with Flash Builder it's a nice solid black. I'm using Halo.swc and not any Spark stuff, I have the same fonts installed on the MXMLC co...

What is the best tool to make a CD-ROM Demo Application?

Hi there, I have to make an application that will do the following: Open a video file embedded in the application Open some pdf files, preferably embedded in the application, but if it will have to open externally, it's no problem. Work in fullscreen on the user computer, with a minimal resolution of 1024x768. I'm thinking in make the...

HSlider event listener not triggered when value is updated Flex 3.5

I am writing a web application that will serve as a configuration for a random data generator that I have written in Java. The values that I set in this application will write to xml. The xml data is updated by a file called simulationParams.as and that file is added to each child in the "viewStack" so that when I change any of those v...

Is it Possible to Call a Function When Building an Array?

Hi, Can I call a function when building an array in Flex 3? public function gridBuilder(myArray:Array):void { var i:uint; for (i=0; i<myArray.length; i++){ dGArray = [ {Name: myArray[i].name, Type: 'A:', Score: myArray[i].score, Rank: myArray[i].rank, Grade:(myFunction(myArray[i].ra...

how to implement a data-structure in flex that just like LinkedHashSet in Java

hello, As ArrayCollection in Flex is limited, I'm looking for a data-structure that something like LinkedHashSet in Java, LinkedHashSet maintains a doubly-linked list running through all of its entries,it defines the iteration ordering, which is the order in which elements were inserted into the set (insertion-order).But there is little...

How to check the performance & memory usage of the flash application at run time?

Hi, I have a flash application which consist of Grid Components, Button, Label, and Combo-box Components. All these components are used more than 70 times(simultaneously) with in the application. So Its takes too much of memory. So How can I test the memory usage of each component at the time of running. Is there any plug-in available f...

Flex: Firefox memory vs Flash Builder Profiler

When I run my Flex application in Flash Builder's Profiler everything seems to be fine. No memory leaks, but apparently it happends somewhere because Firefox memory and System.totalMemory just keeps increasing until Firefox crashes. Anything I can do to prevent that? I'm guessing it has to do with loading of images since I am loading a ...

Change icon of Alert buttons

How do I change the icons to Alert buttons like OK, CANCEL etc? ...

drag drop of UIComponent in TextFlow of Sparks TextArea

I would like to add a UIComponent of variable width and height into the textFlow of a Sparks TextArea. I managed to get the drag and drop working via InlineGraphicElement, but I have to add the UIComponent to some invisible Group first, where its size is calculated. protected function test_dragDropHandler(event:DragEvent):void ...

Resize nested mx:Lists to display all list items

Hi, I'm trying to create a nested list in Flex which will dynamically resize to display all children when the data provider changes. Here's a simplified example which illustrates the problem: <mx:Script> <![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var outer:ArrayCollection = new Arr...