flex

What are recommendable data modeling tools and techniques for a Flex / Java web app?

I'm looking for a comprehensive setup that you've successfully used already. I've already loads of hints as to what building bricks I might use, but I'm not sure how to put it all together. Tools that need to be bought are OK, too. Details: I'm developing a Flex front end client for a Java server application and I have a set of model c...

What minimum .jars do I need for BlazeDS and Spring?

I've managed to create a small project in Eclipse using the Spring & BlazeDS integration. Everything is working fine, my AMF requests are coming through and all is well. I just want to know what the minimum required .jar's would be. At the moment I have a list of more than 35 jars required to make just a very basic application work. It...

Flex custom preloader images loading

Hello I'm writing custom flex preloader with extends IPreloaderDisplay class. How I can load the images from web in my custom preloader? Thanks Vladimir ...

How to find where an object is created in flex/actionscript 3 ?

Dear All, In my project I have noticed 20-40% CPU time when my app is idle. In debugger when I pause I always land on a flex.utils.Timer/tick. This timer has 30ms delay between "ticks" I didn't create that Timer... so this is problably a component I have added Unfortunately it will be difficult to remove all compenents until if find th...

Session referrer in Flex

function procLogin($user,$pass,$remember){ global $session, $form; $retval = $session->login($user, $pass ,$remember); if($retval){ header("Location: ".$session->referrer); echo "comign in"; return 'yes'; }else{ $_SESSION['value_array'] = $_POST; $_SESSION['error_array'] = $for...

Actionscript embed an array

Hi, I want to embed some images at compilation time so I end up with just a single swf. They need to be inside of an array as I need to modify them programatically and they can be 100s of images. Cant use flex as I want to keep the whole function in actionscript (aka make files smaller) I found how to do it in flex: ... <mx:Array id="...

Flex - Placement of Legend for a chart

Hi, I would like to be able to specify the placement of a legend for a linechart. Currently, it continues to appear to the right of the chart. I have tried playing with the width/height of the chart to no avail... Putting the legend before the linechart in the mxml causes it to appear to the left. I can't seem to get it appear at the ...

Flex : Unable to open 'locale/en_US'

Using Flex Builder : I have created a new Actionscript Project. I want to use mx.controls.Button class in it, so I did the following : Added '-locale=en_US -source-path=locale/{locale}' to the Actionscript compiler arguments Added 'framework.swc' to the library path But now I get this error: unable to open 'locale/en_US' I looked up...

Flex applications for iPhone

Is it possible to make applications for iPhone using Adobe Flex/AIR? Any tutorials, pointers? ...

Papervision 3D with Flex

I am a newbie to Papervision. I want to design a sphere with 8 holes around one of its diameters. How do I do it? How do I draw anything on a sphere in Papervision? ...

Flex-AIR: Main Thread (Suspended).....WHY??

Whenever I debug my AIR app it keeps suspending at a certain line of code...it doesn't give me a reason why, it just says Main Thread (Suspended) No error, no breakpoint at this location either. If I comment out the code so that, that line does not execute, it just does the same thing on a different line of code. I have no clue why.... ...

Flash doesnt show up until mouse over on ie. How to fix that?

Hi, I developed something in flex. It works great on FF and Safari. But on IE the "swf area" remains blank until mouse moves over it. I am embedding it like that: <object height="100%" width="100%" id="myApp"> <param value="example.swf" name="movie"/> <param value="high" name="quality"/> <param value="opaque" name="wmode"/> <param value...

actionscript 3 and using fonts

How can I make my strings and text attributes bold in my actionscript code? I'm working with the code behind pattern so i have an mxml component with a text attribute. I then have my actionscript component where I concatenate three text attribute and set them as the text property on the mxml text component. I want to be able be flexib...

resizing event in flex

Hi community, I have the following problem. I use a custom component for painting a graph on a canvas, now when the windows is resized I want to determine the actual width and height of my canvas to resize the graph as well, therefore I used the resize event I can use in mxml. Now I detected in my method for resizing I only receive the ...

flex 3 animated gif for datagrid loading

Hi guys, I want to display some kind of animation when my datagrid is updating. Does anyone have any good examples of this? ...

Flex Combobox strange problem

I am facing a strange problem with the combobox in Flex. In the following code : public function rollCombo(cmb:ComboBox,value:String):void { if(value=='') return; var i:int=0; cmb.selectedIndex = 0; var dp1:XMLListCollection = (XMLListCollection(cmb.dataProvider); trace(value); while(dp1[i]!=valu...

Mapping PHP and Flex Objects.

I am using ZendAMF for remoting. <?php error_reporting(E_ALL | E_STRICT); //error reporting, not needed require_once "Zend/Amf/Server.php"; //the zendAMF server require_once "process.php"; //our test class $server = new Zend_Amf_Server(); //declare the server $server->setClass("process"); //load our test-class t...

Labels on both sides of a HSlider or VSlider control

Hi Is there some way to have labels on both sides of a VSlider control? I need this to show meters on one side and feet on the other side.... Sami ...

ActionScript: When are event handlers executed?

When, in ActionScript, an event is dispatched: foo.addEventListener("some event", someHandler); foo.dispatchEvent(new Event("some event")); At what point are the event handlers executed? I ask because I caught this at the end of an Adobe developer guide: Notice that some properties are assigned to the [AsyncToken] after the call ...

Holding the session in Flex

I am getting the session generated in Flex Application in a hidden text field, but when i refresh the page it gets back me to login page... How can i hold the session of the page until the browser is not closed... I am getting the session value from PHP. ...