Promethe's Blog on FlashBookmarks!
My blog is now available on FlashBookmarks in the "blogs" category.
Thank you FlashBookmarks!
Flex Ajax Bridge (FABridge) Library

The Flex-Ajax Bridge (or FABridge) is a very cool features. It enables you to automagicaly create a "bridge" between your Flex application and the JavaScript code embed in your web page. This way you can call methods of your Flex application directly in your JavaScript code, and the other way around.
There are several solutions to use the FABridge in your Flex project. Those are the most common:
- In Flex Builder 3, right click on your project, select "Create Ajax Bridge.." and follow the wizard.
- Follow the Flex 3 documentation: Integrating with the Flex Ajax Bridge.
Both solutions have issues. The first one is the fastest, no doubt, but it creates a LOT of JavaScript code that you might not need at all. But you will still have to deploy and maintain that JavaScript code in order to get the FABridge working properly. The second one is a bit more complicated and create no useless JavaScript code. Nonetheless, you'll have to add an external source directory to your Flex project and this reference might come to be broken (if someone else download the sources for example).
After the jump, discover the ONE solution that has it all...
Cubic Panorama in Flash 10
Here is my latest DirectFlex experiment: a cubic panorama, also called a "skybox".
Cubic Panorama on DirectFlex Labs
I was inspired by makc, who first did this experiment using Alternativa3D.
Full code after the jump...
Amazon Web Services REST queries signature in ActionScript 3
As I was working on a custom MP3 player, I wanted to use a web service to search for album arts in order to display them as the corresponding music is played. After a quic Google search I found Amazon Web Services (AWS). Amazon actually provides services to search items in their catalog and therefor you can look for a precise music album and get its cover. This very service is the Product Advertising and is accessible through the Product Advertising API.
But since the 15th of August 2009 AWS requires every request to be signed. It simply means that a "Signature" parameter must be added to each and every request. One might think that the API key should be enough, but this key is inserted in every query URL and can be read by pretty much anyone. The signature is created using the secret AWS password and crypted using the HMAC/SHA256 algorithms so that AWS can be sure the request actually comes from the genuine owner of the API key.
The documentation features a guide to explain the whole signing process step-by-step but as you might have guesses, there is a huge difference between reading it on the documentation and actually implementing it successfully.
Full code right after the jump...
Five Futuristic Interfaces At SIGGRAPH
Because human interaction with a machine has always been a big deal, discover five furisitic but yet already functional interfaces:
Five Futuristic Interfaces on Display at SIGGRAPH via TechnologyReview.com
Rich User Interface design with Balsamiq Mockups and Napkee
Creating a rich and efficient User Interface (UI) is the Saint Graal of every Rich Internet Application (RIA) developer. As Michael Chaize said it in his RIA introduction conference he made this year at EPITA, we call it "Rich" Internet Application because the software takes advantage of a rich User Interface and offers a rich user experience.
Flex developers can use the "Design" view of Flash Builder to design their UI. But this method requires to already have the components you want to work with and make sure they are full MXML. Because the WYSIWYG editor of Flash Builder does not interpret ActionScript components, it is more of a "What You See Is ore Or Less What You Get". If you need more than the Flash Builder WYSIMOLWYG editor -- and I certainly hope you do
-- here are two awesome tools to create and export UI mockups.
More details right after the jump...
Flex for PHP developers
Mihai CORLAN just posted an interesting post about 'Flex for PHP developers'. This blog post introduces Flex and how to make it work with a PHP backend using WebServices or even AMF.
The article is light but covers the main notions of Flex such as MXML and ActionScript 3 and of course data access using PHP.

Aerys