flex

There is a way to use OpenLayers on Flex?

is There a way to use OpenLayers on Flex? By now I've found Open-Scales project, but it is in development (not fully functional). ...

How to set up Flex Unit 4

Does anyone know of any guides or any sort of documentation on how to set up the new Flex Builder 4 beta? I've been pulling my hair all day long, none of my tests are executed and I can't for the life of me understand what's wrong. There are no errors at all. It's as if the metadata tags are not recognized, is there some special compiler...

Building Flex charts with an ant task.

Using the Flex ant task to build our application results in the "Flex Data Visualization Trial" watermark being displayed in our charts. We have professional licenses for flex builder but do not know how to tell the ant task about these. Any help would be awesome. ...

React to change on a static property

I'm re-writing an MXML item renderer in pure AS. A problem I can't seem to get past is how to have each item renderer react to a change on a static property on the item renderer class. In the MXML version, I have the following binding set up on the item renderer: instanceProperty={callInstanceFunction(ItemRenderer.staticProperty)} Wha...

Using FlashVars with Flex 3

I'm trying to pass parameters from HTML-land to Flex-3 Flash-land, and can't seem to get it to work. Here's what I've got (basically the default template, modified with FlashVars): <noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="${application}" width="${width}" height="${height}" codebase="http://fpdownlo...

Why is my override protected function createChildren being ignored?

Here is the error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at view::ScoreBoard/setChipCount()[C:\Flex Builder 3\StackOverflowQuestion\src\view\ScoreBoard.as:32] at model::MainDeckScoreBoard()[C:\Flex Builder 3\StackOverflowQuestion\src\model\MainDeckScoreBoard.as:21] ...

Convert the code into Array..... in Flex

$output = "<loginsuccess>"; while( $Row = mysql_fetch_object( $result ) ) { $output .="<keyword>".$_POST['keyword']."</keyword><name>".$row['url']."</name><occur>".$row['occurrences']."</occur><queryTime>".(substr($end_time-$start_time,0,5))."</queryTime>"; } $output .= "</loginsuccess>"; This is my PHP output, how can i convert th...

load html page into flex textarea

Hello I would like to show some textcontent from a website in a textarea box in flex. <?xml version="1.0" encoding="utf-8"?> import mx.managers.PopUpManager; import mx.core.Application; import flash.net.URLLoader; import mx.rpc.events.ResultEvent; import mx.controls.Text; import mx.controls.Alert; [Bindabl...

FlashDevelop Application not found when build

How do I have to configure my project to open the generated swf file in the debug flash player? When I hit f5 FlashDevelop tells me the following INITIALIZING: Adobe Flex Compiler SHell (fcsh) Starting new compile. Loading configuration file D:\Programmierung\Flex\flex_sdk_3\frameworks\flex-config.xml Loading configuration file D:\Progr...

Get MXML and ActionScript Classes out of swf

Hi there I want to know how secure Flex is. Is there a possibility to generate the source out of the swf-file? I mean for example if I have my Actionscript and MXML files and compile them to a swf, can I get the source back out of the swf file? With kind regards Sebastian ...

How do I get the response from an HTTP request on error?

I tried using both HTTPService and URLRequest/URLLoader. But I can't figure out how to get either the response output or the response headers in case of a server error(like 500). Some help would be really appreciated. ...

9-Slice Images in WPF

I was wondering if anyone knew how to duplicate the 9-slice functionality of Flex/Flash in WPF and VB.Net. I have used 9-slice scaling many times in Flex and it would be a great asset in WPF. I would like to be able to have an image as my background of a Canvas and have it stretch without ruining the rounded corners. Please, does anyone ...

Dictionary declaration in MXML, is it possible?

In MXML it's possible to declare object instances, even for dynamic objects, like so: <mx:Object> <mx:foo>bar</mx:foo> <mx:bar>foo</mx:bar> </mx:Object> Is it possible to do the same with the Dictionary class without using some MXML wrapper class? ...

flex scatter plot?

Hi, Does anyone know of a good Scatter Plot/Chart component that I can use with Flex Builder 3? Thanks. ...

Is it possible to get a custom ItemRenderer to scroll the DataGrid rather than its cell?

I'm having an issue with a custom ItemRenderer I've written for a DataGrid. With this ItemRenderer, it's possible that the contents could exceed the width and height of the DataGrid cell - and when this happens, scroll bars appear, letting me scroll the individual cell. What I would like, however, is that when the contents of the cell a...

Flex HTTPService Resultformat

What is the real difference between these resultformats for HTTPService in Flex : text object xml e4x Especially, the last three seem pretty close to each other by their description. ...

Two different HTTPService classes in Flex

Why are there two different HTTPService classes in Flex? this and this And the second one inherits the first one. Why couldn't there be a single class combining the two? ...

How to check if a xml value is null in Flex?

$output .="<keyword>".$_POST['keyword']."</keyword><name>".$row['url']."</name><occur>".$row['occurrences']."</occur><queryTime>".(substr($end_time-$start_time,0,5))."</queryTime>"; } I want to check in Flex, if the value of name is null or not. I tried for these, but i am not getting any alert when the node value is empty. event.resu...

HTTPservice Help

My Flex code is unable to reach the PHP, but when i do normally it works like http://localhost/search/populate.php?urlWeb=http://www.google.com $url = addslashes( $_GET['urlWeb'] ); if( !$url ) { die( "You need to define a URL to process." ); } else if( substr($url,0,7) != "http://" ) { $url = "http://$url"; $output = "<logi...

Passing URL as a parameter.

<mx:HTTPService id="addWeb" resultFormat="object" result="Added(event)" fault="faultWeb(event)" showBusyCursor="true" method="GET" url="http://localhost/search/populate.php" useProxy="false"> <mx:request xmlns=""> <urlWeb>{urlW.text}</urlWeb> </mx:request> </mx:HTTPService> <mx:Text id="query" x="10" y="425" text="...