12Jun

Time Machine Animation with Tweener

No comments

So I am trying to think of a way to create some type of “Time Machine” animation. Fortunately with the help of Tweener, this is what I came up with - Please note that this is a work in progress. You will need to click the movie first to activate the keyboard events.
So the number [...]

14May

Timer Events with Function Parameters

No comments

Within the Adobe documentation I found this Constructor that exemplifies the usage of the Timer method and the ability to pass in parameters to the function that is called by the timer. I edited this slightly, but here it is:

package {
import flash.display.Sprite;
import flash.utils.*;

public [...]

31Jan

[AS 3] Timing Methods with Timer and setInterval

2 comments so far

I have been wondering how the setInterval method was integrated in to Actionscript 3 so I wrote up a little application to demonstrate a persistent timer. The movie was just made to trigger a function every 2 seconds


Here is my document class for this movie:

package
{
import flash.display.Sprite;
import flash.utils.setInterval;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import [...]