March 10, 2009
The Capabilities Class in the flash.system package is perhaps a class that most people do not use. It is a very useful class that contains several useful properties and functions that can provide a world of information. I use the class regularly for finding the screen-resolution for my AIR apps using the screenResolutionX and screenResolutionY properties.
Here’s a small app using the class that detects the Flash Player Version and the player type – Debug or Release. This can be used as a FlashPlayer Version Checker.
Application | Source
February 17, 2009
- How can we speed up the performance of DataGrid when there is a lot of data?
- How do we reduce SWF size so that the download times are lesser?
- My Flex application works fine when run from Flex Builder, but when deployed to server, I get security related errors. Why?
You always had questions like this and never knew where to go to get answers? Anirudh Sasikumar, a Technical Evangelist at Adobe has created a project called sandboxviolation. In his own words, sand box violation is “for the flex and flash community where users can post questions / answers and vote a question or answer up or down earning reputation points along the way”.
Its available in 2 flavors:
Flex App on Google App Engine | An AIR app with offline support
Check it out, benefit from it, post your questions, answer other’s questions, vote answers up/ down and help the community churn high quality content…
Addendum: Anirudh’s written a Syntax Highlighting in AS3 as part of the above project which is awesome and then opensourced the code which has now created quite a buzz. Check it out too 🙂
February 17, 2009
Oliver Goldman from the AIR Team did a presentation at MAX on “High Performace AIR Applications”. In case you missed it, catch it here.
December 22, 2008
Today I was just trying to see how to launch one AIR app from another… The idea struck me when I was reading –Installing and running an AIR applications from a web page documentation on livedocs and I thought it is worth posting here.
There is an air.swf file file at [http://airdownload.adobe.com/air/browserapi/air.swf]. One can invoke a launchApplication() method on the file to interact with the AIR runtime and launch installed AIR applications from a web page in a browser. I decided to use the same file to launch AIR apps from another AIR app. To get this working, the trick is very simple:
- Get the applicationID and the publisherID of the app intended to be invoked
applicationID can be obtained, either from the author of the application or looking at the application.xml file funder the META-INF/AIR folder in the application install directory.
publisherID can be obtained, either from the author of the application or in the publisherid file under the META-INF/AIR folder in the application install directory.
- First load the air.swf in an instance of the Loader class and set the LoaderContext as mentioned here under “Loading the air.swf file” heading.
- Do a check if the application is installed using the code under “Checking from a web page if an AIR application is installed” heading.
- Use the following code to launch the application
var appID:String = enter applicationID here;
var pubID:String = enter publisherID here;
This would only work if the application.xml file of the application that you want to launch has the allowBrowserInvocation property set to true.
Here is an example of 2 apps, AIRAppLauncher and AIRAppLaunched. AIRAppLauncher can be used to launch AIRAppLaunched. You will have to sign the AIRAppLaunched, export as AIR, extract the publisherID, install it and use that in AIRAppLauncher for the whole workflow to work. You can download the archive here…
November 20, 2008
If you are a Flex/ Flash / AIR developer in India and think you can be the one behind the coolest of all RIAs, you cannot afford to miss this event! Put on your RIA development shoes, build the coolest app that you can imagine and send it to us on or before 26th November 2008. If your application catches our attention, you will be invited to a very special event on the 29th of November at Grand Ashok, Bangalore where the top applications will go on stage for a demo showdown! This is your chance to Flash your design skills, Flex your coding muscles and AIR your demos in front of an elite judge panel & the Adobe community.
The Grand winner / winning team will walk away with a groovy Apple IPhone.
The runners up will take home with them a Sony home theater system.
What’s more, there are loads of IPod Nano’s, shuffles and Adobe branded goodies to be won.
This event also brings to you an exclusive preview on the new developments in the Adobe Flash Platform. Experience the Flash Catalyst (code name Thermo), Gumbo(code name for the upcoming version of Flex) ,FXG and Flash Player 10.
Register today at http://adoberiathon.eventbrite.com
For more information and contest rules & regulations, please visit http://adoberiathon.wordpress.com
October 31, 2008
This is something the Flex community has been waiting for some time. Adobe Flex 3 with AIR ACE (Adobe Certified Expert) is out now. Go ahead and get certified !!!
October 24, 2008
<riathon>:: hack . play . win – the Adobe way.
The Flash & Flex community in India are a set of passionate individuals who really love the platform. Adobe is bringing a RIA Hackathon for designers and developers on the Adobe Technology Platform (i.e. Flash, Flex & AIR)
Come join us for a day of fun, take a crack at creating amazing RIAs with your favorite Adobe platform and win fabulous prizes.
If you are interested, leave your details here and we’ll get back to you…