Posts

Differences in Getters/Setters of Java vs ActionScript

Below are the differences in Getters and Setters method of Java and ActionScript.  ActionScript getters and setters are part of the core ECMAScript language,  the externally visible interface doesn't change when I change a public member variable to private with public getter/setter and back again.  the interface hiding is supported by the language and creating public member variables is safe Java getters and setters are done through a naming convention. make member variables public is not recommended  interface changes if you convert a public member to a private member with public getter/setter functions,

Online IDE for ActionScript: wonderfl build flash online

wonderfl build flash online : A wonderfull Cloud based / Online IDE for creating Flash content.

Advantage of ActionScript over HTML 5 & JavaScript

Building Flash (or coding ActionScript) based application is much faster than coding JavaScript based web applications.  Although ActionScript (Flash) applications rely on the Flash Player plug-in, its  penetration is quite high nowadays.

Is ActionScript 3.0 Object Oriented language ?

Yes, ActionScript™ 3.0 is an inheritance-based, object-oriented scripting language based on ECMAScript developed by Macromedia (now acquired by Adobe) . It is used to program application logic and events. Reference ActionScript Technology Center

Prototype based programming

Image
Prototype-based programming is a style of object oriented programming. Prototype based porgramming encourages the programmer to focus on the behavior of some set of examples and only later worry about classifying these objects that are later used in a fashipn similar to classes. Prototype based programming is also known as class-less, prototype-oriented or instance-based programming. Classless programming style is supported by the following programming languages. JavaScript, ActionScript , Lua Open Laszlo In prototype based programming behaviour resues ( known as inheritance in class-based languages) is performed via a process of cloning existing objects that serve as prototypes. Cloning refers to a process whereby a new object is constucted by copyin the behavior of an existing object (its prototype). The new object then carries all the qualities of the original. From this point on, the new object can be modified. The resulting child object maintains an explicit link...

What is Adobe Flash ?

Image
Image via Wikipedia What is Flash ? Adobe Flash CS4 is a powerful multimedia creation tool used to create and display animation, video, and sound content. It can be also used to create Interactive Rich Internet Application (RIA). Flash can work with: Bitmap Graphics, Sound - you can change the compression of a sound by opening the Sound Properties window Video What are different Flash File types? Following are the different Flash file types: 1) Flash File (.FLA) - Flash working file (while creating artwork) 2) Flash Movie(.SWF) - contains Flash content which can be played in the Flash Player. 3) Video (.FLV, .F4V, .MP4) - These are video file type supported by Flash Player. Existing Movies can be converted to these format using Adobe Media Encoder which is included in Adobe Flash CS4. When you import a video into Flash the controls to play back the video is automatically added. 4) ActionScript File (.AS) - file containing Actionscript code. Using ActionScript you c...

Accessing File System

import flash.filesystem.*; public class MyFile { private var stream: FileStream; private function saveFile(): void { var file:File = File.desktopDirectory.resolvePath("file.txt"); var stream:FileStream = new FileStrem(); stream.open(fiel, FileMode.WRITE); var str:String = "file content"; stream.writeUTFBytes(str); stream.close(); } }