useful tips and resources

Entries from August 2008

AS3 Bitmap Smoothing in Flash

August 28th, 2008 · 1 Comment

This is just a small experiment on Flash bitmap smoothing in ActionScript 3. A small piece of codes can be sometimes too hard if one does not know how to write it properly. You may try the below sample and adapt it for your own Flash projects.
View Sample SWF File or Download Flash Source File [...]

[Read more →]

Tags: ActionScript 3 · Flash · Tutorials

Web Design Tutorials

August 26th, 2008 · 4 Comments

You need to know some of the basic things about web design no matter you are making HTML, CSS or Flash websites for personal or commercial purpose. You need to focus on basic HTML first before you step into JavaScript or CSS or whatever. If you wish to make your website to be very successful, [...]

[Read more →]

Tags: Design · HTML

Simple Preloader in ActionScript 3

August 20th, 2008 · No Comments

It is just a few number of lines for making a simple preloader. You may download this file as an example. Below codes are located in actions layer of preloader scene.
PLAIN TEXT
Actionscript:

stop();

var loaded:Number;

var percent:Number;

fm_bar.addEventListener( Event.ENTER_FRAME, load_progress );

 

function load_progress(e:Event):void

{

loaded = stage.loaderInfo.bytesLoaded / stage.loaderInfo.bytesTotal;

percent = Math.round(loaded * 100);

 

fm_bar.scaleX = loaded;

loader_info.text = “Loading… “ + percent + “%”;

 

if( [...]

[Read more →]

Tags: ActionScript 3 · Flash