flex

Stop all timers running

I have a flex app that has several timers running for various amounts of time and for various reasons. I'd like to be able to stop all timers running if the user goes over a specified amount of time, but don't want to individually stop the timers using timer.stop(); Is there a way to stop all timers globally or find and iterate over all...

How to exclude files from being copied to bin-debug on build

Using Adobe Flex Builder Pro stand-alone, how do I filter or exclude some files in my project source folder from being copied into the bin-debug folder during a build? Flex Builder is based on the Eclipse platform IDE, this could be as much of a question about Eclipse as it is Flex Builder. ...

Lexagraphically find uncalled functions in Flex/AS3 ?

I am aware of the FlexCover project, but I want a code analyzer that finds the functions (and classes, I suppose) that have no calls to them at all in the source code. I suppose I could comment them out one-by-one, but that way lies madness. It's more than just tidiness: we have many versions of the same functionality and maintaining u...

Recover HttpHeader on Flex

Is it possible to recover the HttpHeader information from a flex Client? I want to do the following: User download the flex client from a web site In each communication flex client catch the HttpHeader information in order to change (If it is necessary) the host information to be connected (For example in a HA configuration) Thanks ...

Move multiple rows from a tree component to a dataGrid.

I'm working on drag-and-drop capabilities between a tree and a datagrid. The dataProvider of the tree is XML and the dataProvider of the dataGrid is an arrayCollection. I have it fully working when moving a single item from one to the other, but allowing multiple selections is failing. When the elements moved are leaf nodes, the follo...

Flex Encryption Secret Value

So I know it is possible to decompile SWF files. I know it produces the ActionScript contained in the file. Is there any way to store a value in a Flex application that can be reliably assumed to be secret? I am very new to Flex and am just curious. I need to preform some type of hashing in my Flex app in order to ensure the request ca...

dos command flex core

can i execute some dos like command from flex just like attrib c:\a.txt -h. function available in c exec(), in java Runtime.getRuntime().exec(). but in flex is there any available? ...

file hidden flex vista

is there any way to create a file as a hidden in vista, xp, 2000,98 ,macintosh from flex by using var file:File = new File(""); or any other way ...

How can you set skining like upSkin,downSkin,overSkin to Accordion in flex ?

In my project i used Accordion . if i add skin to Accordion then so error ? but i tried like <mx:Accordion borderStyle="solid" width="212" height="346" upSkin="@Embed(source='image/UPDATE.png')" > But shows error like Cannot resolve attribute 'upSkin' for component type mx.containers.Accordion. how can i add overskin,downskin,upskin ...

How to connect Adobe Air client side with Java VM Debug Interface?

Hello: I'd like to know if/how would it be possible to connect Adobe Air application to Java VM Debug Interface? I have some objects residing on server side and don't want to change the code there and server already allows to do remote debugging. Here's the information about JPDA: http://www.j2ee.me/j2se/1.3/docs/guide/jpda/architectu...

ExternalInterface.call("window.location.host.toString")

Hello Everyone, I wrote a flex application that get the host string from the browser using this code ExternalInterface.call("window.location.host.toString") This line of code work prefectally to get the host string in both Firefox and Opera. However, when using IE, the returned string is always 'null'. I need to get such information ...

Charts error in flex ? What you mean by bundle error in flex?

i adding chart using dataprovider . And also i used flex bulider SDK 3.0, In installed C:\Program Files\Adobe\Flex Builder 3\sdks\3.0.0\frameworks\locale\datavisualization.swc also there but my flex bulider shows error like Severity and Description Path Resource Location Creation Time Id Unable to resolve resource bundle "charts"...

Flex: Group items in DataGrid

I have a DataGrid with info like this: Associate Amount Time Customer John Doe 2 9am Sam Smith John Doe 2 10am Berry Cooper Bill Ace 1 9am Sandy James Repeating the name and amount gets redundant so I would like it to look something like this: Associate Amount John Doe 2 Bill Ace 1 Then when you select one, ...

Datagrid with RadioButtonGroup itemrenderer

Hi There, I don't know how to do this, tried several things now, so I will ask. The below shows what I want. I just don;t know how to get it working. I have an AC with several questions and assoicated answers. These must be shown in a DG, and the idea is that the rows and colums of the DG are bound to the AC. For example, if the answer...

Flex: Processing xml, before using it in datagrid

Hi! I have following problem: My webservice application returns xml data in following order: <my_claims> <claim> <opponent>Oleg</opponent> <rank>2000</rank> </claim> </my_claims> Where number of claim nodes, can be 0,1, and so on. How I correctly handle, the data received from the service. Currently, when I am trying to...

How can I get a Flex container to scroll to the last position?

I'm creating a chat window, much like this example http://demo.seanhess.net/oneshots/scrolling.swf Whenever a chat is added, I want it to completely show the last message. I'm using maxVerticalScrollPosition to set the scroll position on the list, but it is always wrong (see the example). It undershoots it by a row or so. I've tried th...

Best way to make a WYSIWYG in Flex?

Hello, I have a client that wants a WYSIWYG form that behaves like MS word. It will have some section labels in it, with users expected to enter notes for each section, and it needs a place holder for a chart. The trick is that the user needs to know where page breaks are going to fall when printed. The customer agrees to fixed size ...

Flex3 Linechart points are too close to the edge

I have a Flex3 LineChart component using an CircleItemRenderer and the datapoints are being cut off because they are too close to the edge. Here's what it looks like: http://img29.imageshack.us/img29/3850/chartx.png As you can see, the circles on the left and right sides are being cut off. How can I make the LineSeries area, plus...

Does dispatching an event interrupt a function?

Let's say function foo() is executing. Suppose that an external event occurs, for which you have a handler. Will function foo() be interrupted so that the event handler can be executed? What is the order of execution in this situation? ...

How do I set the dataProvider for an <s:List> component to be an XML file?

I've got the latest Beta of Adobe Flash Builder 4. I want to use a <s:List> component, and specify the dataProvider as being an XML file. However, after loads of research (including looking at doc links off labs.adobe.com), I still can't figure out how to do it. The XML file will look something like this: <?xml version="1.0" encoding...