EncryptedLocalStore and applicationDirectory in AIR

The EncryptedLocalStore class provides methods for setting and getting objects in the encrypted local data store for an AIR application. And the encrypted files are put in a subdirectory of the user’s application data directory; the subdirectory path is Adobe/AIR/ELS/appFolder. The appFolder equals to the applicationID  that you wrote in application description xml (xxx-app.xml) when the [...]



Adobe China Flash Platform Summit will be Broadcasted By Flash P2P

There will be a Flash Platform Summit at Beijing. This summit will start at 9:00 am at April 21 GMT+0800. And the keynote sessions will be broadcasted using flash p2p technology.  All you need is to download flash player 10.1 RC at http://labs.adobe.com/downloads/flashplayer10.html.  After installation completed, go to http://202.108.6.253/fmsp2p/VideoPlayer.html?47. Then you can watch the summit [...]



Adobe Flash Builder 4, Flex 4 and ColdFusion Builder go GA!

Adobe was announced that the GA releases of Flash Builder 4, Flex 4, and ColdFusion Builder are ready for prime-time. Today (3/22) we released:
Flex 4 – Including the new Spark skinning and component architecture enabling a new level of expressiveness in RIAs in addition to supporting the new Flash Catalyst to Flash Builder workflow.
Flash Builder [...]



Flash player 10.1 beta 3 release!

The flash player 10.1 beta3 release in adobe Labs see http://labs.adobe.com/technologies/flashplayer10/



File Operation in Adobe AIR

In AIR application, the file operation is as the same as in other applications( application compiled from C++ etc.).  The size of the file that air can open only depends on the system.
Which class to handle file?
The FileStream Class is the major Class for operating content of a file. A FileStream object has two methods [...]



Linden Liu’s flex series: Tips of Writing ASDoc

Tip 1: The sequence of the @param should be as the order of parameters defined in function.For example, you defined a function like this public function foo(param1:Type1, param2:Type2, param3:Type3):void. The asdoc should be like this:/*** xxxxxxxxxxx description of the function.* @param param1 xxxxx.* @param param2 xxxxx.* @param param3 xxxxx.* xxxxxxxxxxxxxxxx.*/public function foo(param1:Type1, param2:Type2, param3:Type3):voidIf parameters [...]



The flash.net.URLLoader will change your request method to GET.

The URLLoader of flash will change your URLRequest method to GET if your request’s data property is empty. The test code is simple.
private function testPostWithEmptyData():void
{
var urlLoader:URLLoader = new URLLoader();
var req:URLRequest = new URLRequest();
req.url = “http://dict.cn/POSTWithoutData”;
req.method = URLRequestMethod.POST;
urlLoader.load(req);
}
private function testPostWithData():void
{
var urlLoader:URLLoader = new URLLoader();
var req:URLRequest = new URLRequest();
req.url = “http://dict.cn/POSTWithData”;
req.method = URLRequestMethod.POST;
req.data = new URLVariables(“q=hello”);
urlLoader.load(req);
}
Then you [...]



Linden Liu’s as series: Beginner guide for ASDoc

The ASDoc is a useful tool for creating documents for your code especially for the code that will be shipped to other develop. If you are struggling in writing documents, the ASdoc is worthy to try. This a brief introduction for using ASDoc in Eclipse and Flex Builder. If you are searching for how to [...]