Pages

Sunday, 20 September 2015

ActionScript 3.0 Opening a URL and downloading a PDF file

To open any external link from a flash document we use the below code:

Tuesday, 30 September 2014

ActionScript 3.0 Duplicating Movieclips

You can use this code for creating a menu, duplicating a character etc. The below code snippet achieves just that.

Thursday, 21 August 2014

ActionScript 3.0 Class File for Loading SWF files

Use the below code to create a class file for loading SWF files. You can customize this code to suit your requirements.

Monday, 12 May 2014

AS3 Google Analytics

This article discusses how to implement Google Analytics code in your Flash Projects. This is useful if you want to track progress of your Flash Application.

Monday, 7 April 2014

AS3 Finding Index Position in an Array

Use the below script to find the index position in an array.

Friday, 21 March 2014

AS3 Accessing parent file variable value from a loaded swf file

Below example illustrates how to access a parent file variables value from a loaded swf file.

Monday, 10 March 2014

AS3 Resizing the MovieClip on the Stage

The below function would resize any MovieClip placed on the Stage. The name of the MovieClip in this instance is mascot.

Thursday, 6 February 2014

Monday, 13 January 2014

ActionScript 3.0 Animation Function for Clickable Buttons and MovieClips – To and Fro Animation

A very useful function for animation which can be used for clickable button and movieclips. Below is the code for the same.

Monday, 4 November 2013

ActionScript 3.0 Loading multiple SWF files using a Function

The below code snippet loads multiple SWF files using a single function.

Saturday, 28 September 2013

ActionScript 3.0 – Flag Variables

You can create toggle buttons using flag variables. A Flag Variables data type is a boolean object. A Boolean object is a data type that can have one of two values, either true or false.

Saturday, 14 September 2013

ActionScript 3.0 Stopping and Playing Sounds on Multiple Timelines

In ActionScript 3.0 you might have observed whilst importing sounds on Timelines (movieclips or otherwise) when you move on to the next Timeline the previous Timeline sounds do not stop.
In that case you might get 2 conflicting sounds.

Sunday, 19 May 2013

ActionScript 3.0 Pause Timeline

The Code below can be used to pause the Timeline on a Flash Keyframe. This can come in handy if you need to pause the timeline for a certain time duration.