To open any external link from a flash document we use the below code:
Sunday, 20 September 2015
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.
Labels:
actionscript 3.0,
boolean,
duplicate,
easing,
flash,
function,
mouseevents,
movieclip,
transitions,
variables
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.
Labels:
actionscript 3,
adobe flash,
analytics,
buttons,
google,
javascript,
swf,
tracking,
url,
variables
Monday, 7 April 2014
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.
Labels:
3.0,
actionscript,
event,
movieclip,
proportional,
resize,
stage,
swf,
variables
Thursday, 6 February 2014
AS3 Calculating the Time Duration of a SWF file
The below code will calculate the time duration of a SWF file
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.
Labels:
actionscript_3,
buttons,
code,
easing,
effect,
movieclips,
scriptable_animation,
snippet,
timerevent,
tween
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.
In that case you might get 2 conflicting sounds.
Labels:
actionscript 3,
array,
keyframe,
movieclips,
pause,
play,
sounds,
stop,
streaming,
timeline
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.
Subscribe to:
Posts (Atom)