In Flash, textboxes are of 3 types namely – Static, Dynamic & Input. The size of Dynamic/Input text varies depending on the source file/user input and hence may require the use of scrollers. Continue Reading →
The Blog
Creating a simple content slider (AS2 )
I used this technique to create a simple video interface, with thumbnails for each video which had to slide horizontally.
I also needed to stop my carousel movieclip to exit the stage.
Run an external executable file (.exe) from your flash
Ok, so you have a folder with a flash file in it plus another totally independent .exe file. How do you create a script that will run the exe file when you press a button inside the flash movie?
Manage depth with ActionScript 3
Really quick and easy tutorial to see how to manage depth with actionscript 3. Continue Reading →
Detect collision between two objects
Few lines of code that cover the technique on how you can detect collision between two objects with ActionScript 3.
Endless scrolling background in AS3
In this tutorial you will learn how to create an endless scrolling background in Actionscript 3 where an image will continue looping. I have used an image of some buildings for this tutorial, but any image will work.
Specifying a Document Class
In general, it is a good idea to keep all of your code away from the timeline in Flash. To put it differently, it is a bad idea to write code on the timeline unless you really cannot avoid it. The main reason to avoid the timeline for code is that it is cleaner to separate your code from the more visual/animation-centric content that your timeline is really designed for.
Pause a movieclip in AS2
The easiest way to pause a movieclip inside your flash without affecting the rest of the stage is written few rows below.
You just have to enter your movieclip (double click it), create a new layer called “actions” or whatever you like to name it and paste the code on the frame you want your movieclip to pause.
Recent comments