flex

Write Flex 3 code in Visual Studio?

Any ideas on how to build and compile flex 3 projects in visual studio? I prefer that environment to Flex Builder 3. ...

Adding components to CoverFlow in Flex

I'm working with the Coverflow library by Doug McCune available here - http://bit.ly/zCc11. In the example included, he has created some panels inside a CoverFlowContainer. There are other examples of him populating the coverflow from an RSS feed on the page linked above but he doesn't include the source for these :( I will eventually ...

size the height of a flex component to fill the space available on stage

Im trying to create a layout in flex using mxml, the layout contains a Canvas component and a Box. The layout should always be such that the Box sits at the bottom edge of the application and has a fixed height, whereas the Canvas fills the remaining stage area and does not overlap with the Box. My MXML is as follows; <mx:Module xmlns:...

Flex: How does a component know whether one of its styles got changed?

I inherited a custom component from TextField. The component needs to know when any of its styles got changed at runtime via setStyle. How would I do that? It's probably obvious but I couldn't find an event or appropriate method to override. ...

How can I visualize XML in Flex /Flash?

Hello, I'm making a Flex application to visualize the contents of an XML file in a tree, radial diagram, etc... I looked all over the internet and I can't find any useful tutorials or source code on how to do this. Most existing components on the web have licensing issues with them, so I prefer to write some sort of XML visualization al...

Flex: given Class object, get the name of the class it represents

In Flex, say I have a Class object. How do I get a string for the class it represents? e.g.: var clazz:Class= String; trace(clazz); // this gives "[class String]" but what I want is "String" ...

How can I check for the existence of an XML node in Flex/AS3?

Why does the trace in the loop below return false for every iteration, even though there ARE nodes named with 6 of the 8 possible values??? This only happens when I have a namespace. Is there some other way to check for the node values??? <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" la...

How do I asynchronously poll a file using a flash timer without blocking the UI?

I have a flex application that repeatedly polls a remote XML file to detect changes, but I've found that once the file hits a certain size, the poll blocks the UI and makes the page unresponsive for a short time. Is there any way to ensure that the call made to the server or the event from the flash.utils.Timer class runs asynchronousl...

Weird flex date issue

Flex is driving me CRAZY and I think it's some weird gotcha with how it handles leap years and none leap years. So here's my example. I have the below dateDiff method that finds the number of days or milliseconds between two dates. If I run the following three statements I get some weird issues. dateDiff("date", new Date(2010, 0,1)...

Other Flex IDEs?

I am an Adobe Flex developer and I am sick of Eclipse. Is there an alternative (free) IDE for Flex? I am aware of Tofino, but I can't get that to work on my MSVS Express editions, and I don't want to buy the whole thing. Help is greatly appreciated. ...

Can't create flex4 project in flexbuilder using remoting or LiveCycle Data Servcies ES

I'm trying out the FlasBuilder ide with ColdFusion 8 on OS X. When I try to create a new project, I get stuck at the server setup screen that forces you to validate your paths for your ColdFusion root folder and your webroot. Every combination I try says either "LiveCycle Data Services is not installed at the specified location" or "In...

webinar application

Hi... I want to build webinar application (chat,live video, presentation, white boart and etc). Now, I trying to choose platform (flash/flex, javafx). Does anyone have experience in developing such applications? ...

Are Flex charts available in the free Flex SDK?

Hmmmm... It appears that charts are only available through the Flex SDK that comes built-in with Flex Builder. This is a problem, since I want to use Flex 3.3, and Flex Builder came with 3.2. Eclipse is also ticking me off, and I prefer to use a different IDE (FlashDevelop). Any way around this? And is there anything else that isn't in...

Flex: Does anybody know a TabNavigator component that allows for html labels in the tabs or how to do this?

I'm trying to put html-formatted labels in the tabs of a TabNavigator. I saw SuperTabNavigator in the FlexLib but it doesn't seem to do the trick for me. I found this html button code and was able to inject my own TabBar and have it change the class instantiated by the ClassFactory when a navItem is created. HtmlTabNavigator: public ...

Flex WebService using WSDL. How to list available operations?

Hi, I'm using WebService class with WSDL. How to list available operations in WSDL and their parameters? There is operations property but it's empty. ...

Is it possible to create a 'command line' swf?

I'd like to be able to write a .swf file that is runnable as a command line app. In other words, I would be able to create actionscript classes which can interact with stdin and stdout, and could then execute that .swf directly in the command line. I suspect that this isn't really possible. Can anyone confirm that? EDIT: A couple of th...

Creating a Pop up and setting its view state before it displays

Hi, I am a beginner developer in Flex, and I have been using viewstates lately. I had a couple of custom popup titlewindow components that are initialized using: PopUpManager.createPopUp(this, ContentCreate, true); They both contain view states already, and are very similar so I wanted to combione them into one popup titlewindow and ...

flex datagrid - item renderers and skipping rows.

HI, I have a datagrid with 6 columns, each with its own item renderer. In the first column i want to be able do a check and see if the column contains some valid data, if not then i want to skip this row and go to the next. In other words i want a way to tell my datagrid to stop processing the rest of the item renderers for the current ...

saving xml file in Flex,Webapplication,asp.net

Hi, I am creating a xml object and adding a xml element via coding in flex. Finally, I need to save it as a xml file. How can this be done? private var newtreeItems:XML = <items> <page caption="Page"> <scene caption="Scene"></scene> ...

Flex TextInput Control: Search Style rendering

Hello, I have a TextInput control which has a search functionality for the people in the system. It works fine. All I need is to style it in such a way that, it will be having search image on the right, which when clicked, will search. Its actually for look and feel part of the application, which will make the search box look much bette...