Timer Class

July 15th, 2007 by Slav

This is a class that mimics the timer functionality of JavaScript. There are 2 variants : Timer class let’s you specify time in seconds and TimerFrameBased lets you specify the time in frames. Read the rest of this entry »

Posted in AS2, flash | No Comments »

“Preloader junkyard” or how to keep everything in one clip extension.

July 5th, 2007 by Slav

You might have experienced the following situation : Just created a flash game or app which is too big to go online without preloader. You have 2 options.

  1. Create 1 file so preloader must be inside the same file as app.
  2. Create a separate small preloader swf that will load your big file.

Although the second solution is more elegant, there are various reasons why you will use option number 1. Read the rest of this entry »

Posted in JSFL, flash | No Comments »

Convert Folder Images 2 Frames

July 2nd, 2007 by Slav

Imagine you need to import a bunch of images and place them on the frames in a movie clip. Sure flash has an import command that can recognise image sequence, but what if your images are not an animation sequence ? What if you need to convert them all into movie clips as well ? And have a different registration point other than default top left ? Read the rest of this entry »

Posted in JSFL, flash | 2 Comments »