flex

How do I set Hotkeys in Flex?

Hi , I'm new to Flex and i want to bind STRG+I to trigger a function. How do i do that ? ...

how do i load the swfs through http so that the client brower can cache them and communicate with the server-side over https ?

The client-side application is a Flex application and communicate with server-side java application using blazeds.As you know,most browsers don't cache SWFs loaded over https,but i want load the swfs through http so that the client brower can cache them and communicate with the server-side over https ? How can i achieve that ? Help me pl...

Is RubyAMF production ready?

Am considering using it for a project. It keeps getting recommended to me. I am wondering if anyone has had any success and can comment? ...

multithreading in adobe flex

i want to know if i can use threading model like posix or any else in flex, i am a beginer of flex and i want to know if i can use threads in it for multitasking, tahnks ...

How do i use C++ with Flex?

How can i outsource performance critical stuff to C++. Is there any example ? ...

Accessing models from Flex through WebORB on Ruby on Rails

Hi, I'm using the RiaForge Plugin for Flash Builder 4 and WebORB for accessing data from my Rails application. In Rails I defined the dependencies of my models by using has_many, belongs_to... I've got some models, for example the User model and the Picture model (user has many pictures, picture belongs to user) Creating services in A...

Widget overlay in Flex

Hi. I would like to make an ImageBrowser into my ImageViewer application. So i thought an Widget overlay is an nice looking! http://bernetblog.ch/wp-content/uploads/2008/03/widget.png is a nice looking. but i don't know what is the best way to do such a thing. How should i start ? Maybe , a Canvas with alpha? ...

How to draw to a sprite outside of a class

Hi there, I'm wondering (based on scoping rules) how I might do the following: I want to draw to a sprite that exists on the main stage in which I have a class instantiated. So something like public function MyClass(reference:String){ this.reference = reference; } public function drawToOutsideSprite(){ this.parent.getChildByNam...

Adobe Catalyst: rounded corners

I've created a rectangle in catalyst and under the "properties" panel, all I can see is Corners 10 for the rectangle. Is there a way to individually define each corner similar to CSS. I can't see any source code view in catalyst to enable me to fine tune it for each of the 4 corners. How do I specify the roundedness of each corner separa...

Disable printing in adobe Flex

I am building my website in adobe flex(i am n00b). I have some photographs which I would like to make sure that people cannot print. I do understand that it is not possible to completely stop users from printing. But atleast disable the context menu or just the print option and the copy option. Any and all things about this is helpful...

Good or Bad Examples of Flash/Flex Technology Use

I'm a PHP programmer who's learning more about adobe products including flex, and would like to train myself to recognize when flash/flex is the right technology to use for a client/project (and of course when it's not the right technology to use). I guess the best way to get it is by experience, so if you know of any examples (full si...

Make Objects with key names from variables

Hello, I would like to make an Object that has key names taken from a variable. Probably this is not clear enough, so let me make an example. I have two variables var str1:String = 'firstKey'; and str2:String = 'secondKey'; How can I make an object that would look like: var obj:Object = {firstKey: 'some value', secondKey: 'some other...

How to validate a <mx:List component> ?

How can I validate if atleast one item has been selected from a list, such that the selectedIndices is set to NULL at the init() of application? ...

Flex PNG/JPG decoder

Hi, Now, I run the following code in Flash to get the raw binary data of one PNG file. var fr:FileReference = new FileReference; fr.browse(); fr.load(...); After loading complete, I think I can access the PNG file binary data from fr.data, now, I want to display this PNG picture in my application, could you please tell me, is there a...

FileReference.load() does not as excepted

I used Flash player 10, and Flex SDK 3.4. The code as followings: // Following comes callbacks function imageLoadOpenCallback(evt:Event):void { trace("in--open"); } function imageLoadCompleteCallback(evt:Event):void { trace("in--load"); var fr:FileReference = evt.target as FileReference; trace(fr.data); } function ima...

Flex doesn't build anymore?

I have been working on a project for a long time now and there have been numerous situations in which I cannot seem to build. I try 'clean', then I try building again. Whether I do this manually or 'automatically' via saving it doesn't help anything. This particular time I have no idea what to look for. Can anyone shed some light on wh...

Can Dojo charts be integrated in Flex apps?

I want to go for Dojo components within Flex mxml files and still have a simple swf compilation.Is that possible? Or is Dojo integration possible only via callbacks and external interfaces between javascript and actionscript. ...

Selenium-Flex API sample problem

Hello, I'm trying the sample demo of selenium flex API. After following the instructions on the main page for compiling the project with sfpi.swc and taking the generated selben.swf in bin directory and trying to run some test(assertFlexText) using Selenium IDE, I get the following error: [error] Function getFlexText not found on the E...

how can i create a installer package in flex air?

I need to create a installer package which application i developed using flex air. Now how can i create a installer package of this application? ...

How to highlight cells in datagrid?

How can I toggle cell's background color by clicking on this cell? (Adobe Flash Builder beta 2) ...