Home » Archive

Articles in the ActionScript 3.0 Category

ActionScript 3.0, Flash CS5, Google »

[4 Dec 2012 | No Comment | ]

QR codes are seen every where from news magazine, website, web ads, commercial television advertisements. With the more usage of smart phones with IOS and Android OS capable have more apps available to decode QR codes with that we can easily open URL instead of typing the URL from news paper in mobile browser.
In this Flash action script tutorial we are going to see how to generate QR code in AS3 using Google chart API.
Tutorial difficulty:

Basic to Intermediate
Actionscript 3.0

QR Code generator in Flash AS3
Google has varities of web API for …

ActionScript 3.0, AIR »

[7 Nov 2012 | No Comment | ]

Adobe has released Adobe Flash Player 11.5 and AIR 3.5  for download, which is focused primarily on security and stability enhancements and includes iOS and debugging improvements as well.

Adobe Flash Player 11.5 New Features

Packaging multiple libraries in an ANE (iOS)
Debug stack trace in release builds of Flash Player
Invoke Event enhancement
Static linking of DRM (Desktop only)

Adobe AIR 3.5
Adobe AIR 3.5 provides developers with a consistent and flexible development environment for the delivery of out-of-browser applications and games across devices and platforms (Windows, Mac, iOS, Android). AIR 3.5 SDK includes:

Framework for …

ActionScript 3.0, Flash CS4, Flash CS5 »

[17 Sep 2012 | No Comment | ]

We may want to supply different number sequence may be randomized to our code in order to behave different in situation. Since we dont have array shuffle function in as3. We have to write our code to achieve the effect.
So I have given different ways of acheiving randomized array in as3. The most important is without using looping statement.
Below is examples of functions which randomizes the order of the elements in the array.
Randomize an array  as3 without looping statement
var rawArr:Array = [“1″,”2″,”3″,”4″,”5″];
function randomizeArray(myArray:Array):Array
myArray.sort(function(){ return Math.random()-0.5; });
return myArray;
Randomize an array …

ActionScript 3.0, Flash CS5 »

[14 Sep 2012 | No Comment | ]

In this article we will see how to remove all the children from a display object. This will be useful when we need to remove all the Movieclip or sprite from a parent Container.
Basic Users
Remove all children from Display Object
In this article we are going to use the following properties of method.

removeChildAt( )

numChildren in AS3
numChildren is a public method available for all DisplayObjects in as3 which gives you the count, number of child objects inside the parent object.
Suppose there are 3 sprites inside the parent MovieClip named containerMC then we …

ActionScript 3.0, AIR, Flash CS5 »

[29 Aug 2012 | No Comment | ]

Some of the exiting new features added in Adobe Flash Player 11.4 and Adobe AIR 3.4, with some of the existing issues has been fixed.
We have detailed the new features added in Flash player and AIR.
Flash player & AIR New Features:

ActionScript Workers (Flash Player)
Sandbox Bridge support (Flash Player)
Licensing support: Flash Player Premium Features for Gaming (Flash Player)
Stage3D “constrained” profile for increased GPU reach (Flash Player and AIR)
LZMA support for ByteArray (Flash Player and AIR)
StageVideo attachCamera/Camera improvements (Flash Player and AIR)
Compressed texture with alpha support for Stage3D (Flash Player and AIR)