flex

Is there an easy way to find orphan classes in a Flex/ActionScript project?

I have been in the process of creating a "lite" version of an existing Flex application, and thereby porting many of the classes that are used by both into a library project. As such, I want to easily find all of the "orphan" classes in the original project - those classes that are no longer referenced/used by the project. Is there an Ec...

Flex: How to tell if TextArea has blinking cursor

Is there a way to tell if a Flex TextArea has a blinking cursor? One indication is if the component is focused: focusManager.getFocus() == textArea But it's possible to have a blinking cursor without having the focus. I'm not sure if the converse is possible (focus without blinking cursor). Edit: The rub here appears to be a di...

compile a swc in flash for use in flex, with a class written in flex

OK, It sounds complicated, but it's not. Here goes: I want to use some assets ( buttons, etc. ) I'm creating in flash in a flex actionscript project. Since all my assets are bellow 10K, I'm not planning to load a swf ,wait until it's loaded and create the interface. I want to use a swc and just instance the clips I need. Also, I want my...

Disable individual buttons in a buttonbar

How can I disable a single button in a buttonbar in Flex? ...

Adobe Air Questions/Resources

I recently became quite interested in developing an adobe air application, and just had a few questions that maybe some more experienced air developers could answer. Firstly, what is the average time-frame required for an air project. Mainly I'm planning a somewhat ambitious project of porting a specific forum framework over to an air a...

Image browser caching. Flex

Hello I load the same image in Flex from different places - and the image always load from server again and again. Is there any way to load image from browser cache? Thanks Vladimir ...

to create Whiteboard component

How do I create a simple drawing board/whiteboard functionality in Flex ? ...

Graphical representation of data in flex

Hi, I am a newbie in flex. Latest task is to generate a graph or a netwrok based on the data input. What is the best way to do it. Also when clicked on a node of a network it should show the associated data with that node. Hope to get some help soon! Thanks, Kartik ...

Creating network graph in flex

Ok I had asked a question recently based on this. But I need to narrow down more.. I need to create a network graph with nodes in flex. Once I give the input the nodes must get connected with each other if they have something in common. The nodes must be click-able to show which other nodes it is connected to. A simple code example w...

Flex: What's the difference between an MXML "Component" and an MXML "Module"?

As the title suggests, what's the difference between a "Component" (New –> MXML Component) and a "Module" (New –> MXML Module)? Thanks, David ...

[Flex] parent data calculated from children fields in hierarchical data structure

Hello! In flex 3 I have a hierarchical data structure. I would like to display the content of it in a tree. My problem is that I have nodes which data calculated from children nodes. How to structure the hierarchy to make automatic changes to those parent nodes, if their children's data changed? For example: Every node has a warning f...

Not include component size in measure

I have a custom component that is basically a VBox with a Label and a TextField. <mx:VBox width="50%"> <mx:Label width="100%"/> <mx:TextField width="100%"/> </mx:VBox> What I want, basically, is to have two of these VBoxes layed out on a HBox and each would take exactly 50% - their children Label and TextField should just obey...

ModuleBase vs. Module

Does anyone have insight into when to use mx.modules.ModuleBase over mx.modules.Module? The documentation that I have seen isn't very clear on what each was designed for. What do they mean by "interacts with the framework" exactly? Does it just come down to visual vs. non visual components? Obviously a BaseModule which doesn't interact w...

How to support both HTTP and HTTPS channels in Flex/BlazeDS?

I've been trying to find the right configuration for supporting both http/s requests in a Flex app. I've read all the docs and they allude to doing something like the following: <default-channels> <channel ref="my-secure-amf"> <serialization> <log-property-errors>true</log-property-errors> </serialization> </channel> ...

Using NetConnection and URLStream to send/recieve data at high frequency

I'm writing a Comet-like app using Flex on the client and my own hand-written server. I need to be able to send short bursts of data from the client at quite a high frequency (e.g. of the order of 10ms between sends). I also need the server to push short bursts of data at a similarly high frequency. I'm using NetConnection.call() to s...

For VS Foreach on Array performance (in AS3/Flex)

Which one is faster? Why? var messages:Array = [.....] // 1 - for var len:int = messages.length; for (var i:int = 0; i < len; i++) { var o:Object = messages[i]; // ... } // 2 - foreach for each (var o:Object in messages) { // ... } ...

How to prevent Datagrid from reusing itemRenderers?

Is it possible to not to reuse the itemrenderers on scroll in a datagrid. Instead on scroll datagrid should create the new instances of the itemrenderers? ...

Flex: Any control to select month?

Is there any Flex control to select months (any)? Right now I'm using a DateField, and allow the user to select any date in a month to select that month. ...

Flex: What OpenSource Container Component should I use?

Hello everyone. Please help me what container component I will use. Here is my problem, I have advance data grid with full of data about 300 by 300 row-column(data can be picture). Now I need a container that can zoom in/out, fit to screen capability and can drag around the component inside so that my data grid will be zoomable and draga...

to Delete item at runtime

Hi All, I have created some shapes dynamically at run time by mouse drag, Now i want to delete any selected item the white board.How can i achieve that. Currently i am able to delete the last drawn item through "removeChild()" method, but not the previous items. Please help. Thanks in advance. ...