flex

Flex: how to layout a component to the top-right of a window?

I am writing a Flex (Flash Builder) application which has a map component (http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html) and a drop down list component used to select items shown on the map. I want the drop down list component to always be overlayed on top of the map in the top right corner, regardless of the size ...

Flex 4 . Passing data from Main App to custom component

I havent found quite what I want elsewhere or at least am not accomplished enough to adapt I'm trying to create a project that shows radio stations with logo, listen button etc The datasource is an xml file with child tags like 'name','image' and 'listen' for each parent, 'station'. I access this data via the main application with cre...

Flex 4 load multiple modules in sequence

Hi, I'm planning to break my Flex applications into different modules and need some advice regarding the loading of modules. Currently, on load of the application, I need to add 5 modules as children to HGroups under a viewstack. I'm using a ModuleManager to perform this and listens to the ModuleEvent to add the elements as IVisualEle...

WCF is failed to consumed by Flex code

I have https://mysite/myservice.asmx which is consumed fine with Flashbuilder. When i ported it to https://mysite/myservice.svc, and generate proxy objects, flash proxy objects fails to call any operations. I guess, during web service call, operation contracts are got by https://mysite/myservice.asmx?op=myOp, but in WCF, https://mysite/m...

Compile time jumps when moving from Flex Build to Flash Builder

I moved from using the Flex Builder 3 IDE to Flash Builder a couple weeks ago and have noticed a ridiculous jump in compile times with the same project. It almost seems like every time I build it does a clean build. The project I am working with is pretty big, but when it takes more than 4 mins to build, something is wrong. I tried ad...

Custom SkinnableContainer Question (updateDisplayList Infinite Loop)

I have a Custom SkinnableContainer that has nothing but 4 custom style properties on it. I have then given it a default Skin. which works fine. In the skin I have this :- override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { updateCornerRadius(); up...

What kind of Flex component can I utilize in NativeWindow?

I'm developing Adobe Air application. To show additional window, I create NativeWindow object. In the object, "stage.addChild( Sprite Obj )" does work, but almost all other flex components do not work. Actually I want to add 'spark.components.BorderContainer', 'spark.components.Group', 'mx.controls.Image', etc., but cannot. One solution...

Maximum sounds effect in Flex

I tried to repetitive press sound effect, each MP3 is 8 secs long and as fast as I press the button, it suddenly hang for a few seconds before I could continue execute the sound effect again. I use the code in http://livedocs.adobe.com/flex/3/html/help.html?content=createeffects_2.html After Example: Passing parameters to effects and I ...

Flex sound auto stop at the end of music

Tie this code to a button, if I repetitive press as fast as I can, an error exception would appear in the application. I found that it would not throw an error if I stop the sound when it completely fade out. However, I wish the fade out function could stop the sound individually, not stop o1_1 together. private function p1_1():void{ s1...

AS3 Object List Search with Attribute Value Only

Suppose I have a list of objects of a certain custom type and I need to find an object given only the value of one of its attributes, how do I do it? Eg. // Where user1 ... usern are objects of some class User users = [ user1, user2, user3 ... usern ] // How do I find out the objects that have the "foo" attribute set to "bar" ...

Image Manipulation library/framework in AS3

Hi, Is there a good image manipulation library/framework that can be used in a Flash/Flex application? I'm looking for some distortion effects in fotoflexer.com like bulge, pinch, stretch, squish, Smooth Wrinkles? Any ideas/comments will be appreciated. ...

Is there any live mxml mx:datagrid full text search example\tutorial?

So I have in my RIA a mx:DataGrid connected to some web service from which it obtains data (Dataprovider). I have a simple text fild. I want to on text in text field change to see in my table only lines containing inputed text in some part of any word in any column. how to do such thing? ...

Programmatically close a dateField component

I'm using a dateField component (with editable = true) as an itemEditor in a dataGrid. Interestingly, when editing the textInput part of the dateField it doesn't seem to react to an ESC keydown as I would expect, i.e. reload old dateField value and give up focus. This seems to be standard for most other components, but not for as most o...

Best approach to integration test a Flex/Java web application via Maven?

I am working on a project that is developing a webapp with a 100% Flex UI that talks via Blaze to a Java backend running on an application server. The team has already created many unit tests, but have only created integration tests for the persistence module. Now we are wondering the best way to integration test the other parts. Here...

Any readable, working Flex+BlazeDS+Spring+GAE (storing more than one table in GAE Datastore) tutorial?

I need a readable tutorial on working with Flex+BlazeDS+Spring+GAE (storing more than one table in GAE Datastore). Is there any such? ...

What features of BlazeDS are not avaliable on CURRENT Google App Engine?

So here it is that BlazeDS will totally play on GAE BlazeDS Version: 3.2.0.3978 Status: COMPATIBLE To workaround an EMFException thrown by flex.messaging.io.amf.AbstractAmfInput, follow Martin Zoldano's workarounds at http://martinzoldano.blogspot.com/2009/04/appengine-adobe-blazeds-fix.html. You will need to enable sessi...

How can we add keyboard shortcuts to an mx:MenuBar?

I need some assistance from the Flex experts. I have an mx:Menubar, which I need to be able to open/expand based on the key pressed. For e.g., if shift-R is pressed, it needs to open the 'Request' topmenu. Then if shift-N is pressed, it should load the 'New request' module in the module loader. I've already implemented the MenuBar/modul...

crossdomain.xml file at subdomains

Hello. This is my site: http://chfmm.ru/2 click at the SEAT and chose any seat. FireBug show error (http://s46.radikal.ru/i111/1010/60/1e43ff9e2bc7.jpg). This photo hosting have 1 crossdomain file (http://www.radikal.ru/crossdomain.xml) what should I do? my code: Security.allowDomain("*"); var context:LoaderContext = new ...

Referencing and setting a single item renderer instance in a Flex Tree at runtime.

Hi, Anyone know how to change a single instance of an item renderer for a Flex tree item at runtime? To reiterate, I'm not trying to change the entire tree's item renderer like this: tree.itemRenderer = new ClassFactory(ItemRenderer2); I'm trying to change the item renderer of a single tree item like this (the following code doe...

is there any tool to figure out the memory occupies by the swf??

Well i am not asking about the tool to compress or measure the size of swf file , i need a tool that can show me how many bytes or mbs, my swf is using ?? ...