Archive for the ‘Adobe AIR’ Category:
This is another cool example I found from TheFlashBlog. This example was built regulating Flash CS3 as well as requires Grant Skinner’s AIRPanel prolongation in sequence to accumulate a application. It also uses the Tweener AS3 library to accomplish the animation. It allows you to drop an FLV file onto the player to begin playing it back. You can then click on the camera icon to spit out a screen shot onto your desktop. Then you can right-click on the screenshot in order to save it as a PNG file.
It’s time for a new AIR tutorial. Now let’s move to the beginner users who have basic knowledge of Adobe Flash and are starting to use Adobe AIR. Let’s build a Water Splash desktop application using the power of Adobe AIR. For this tutorial you will need at least AIR and AIR Update for Flash in order to start the application.
stage.scaleMode = "noScale"
stage.displayState = StageDisplayState.FULL_SCREEN;
//add listener to cover MovieClip,
//when the mouse is click immediately call up the 'shoot' fucntion
cover.width = 4000;
cover.height = 4000;
cover.x = -2000;
cover.y = -2000;
//new sound class from library name 'splash'
var sound:splash = new splash();
//new movieclip class from library name watersplash
var mc:watersplash = new watersplash();
mc.x = this.mouseX;
mc.y = this.mouseY;
//each time the mouse is click will set the random scale and rotation
//for new water splash just added
mc.rotation = Math.floor(Math.random()*360)
var scaleNum:Number = Math.random()*2.5
mc.scaleX = scaleNum
mc.scaleY = scaleNum
//play the 'splash 'sound
AIR (code name Apollo) is a new technology by Adobe allowing web developers create Rich Internet Applications (RIAs) for the desktop. As desktop applications, your RIAs can take advantage of additional features such as access to the file system, control over application windows, and support for drag and drop as well as everything they could when played in the browser.
AIR stands for Adobe Integrated Runtime. A runtime, like AIR, is a type of application or collection of application resources that you install on your computer for other applications to use in order to run. One of the main advantages of a runtime is that with runtimes installed on multiple platforms (Windows, OS X, or Linux) you can develop an application once without worrying about platform-specific programming. All of that is handled behind the scenes by the runtime. Another advantage is that applications built for the runtime will not have to bear all of the basic, redundant application weight that they would otherwise have to include in order run by themselves. Instead, all of the common application data (which, in this case, is mostly the Flash Player and the Webkit web browser) is installed with the runtime once and not necessary for individual applications keeping them small and lightweight.
If you do not already have the AIR runtime installed, you can do so here: