Archive for Useful Scripts

AS3 : Flash-Console

console_controls01

Every wonder that, there’s something to display your run-time variables smoothly without using the laggy trace. Not to say trace command is useless, but at times is much less cpu intensive to debug values especially on enterFrame run time to an on screen textbox instead of using trace.

But, lately I stumbled upon a good console interface like debugger called Flash Console in a form of as3 class package!

Read the rest of this entry »

AS3 : FPS and Memory Counter Package

ActionscriptIcon_400 One of my favorite class I used to include when developing games for flash is my FPS and Memory Counter Package. I use this to check my fps and memory consumption for my games.

This helps to identify which of my methods I wrote is taxing the CPU or not. Simply import package to your main.as and add it into the stage

 

Read the rest of this entry »

AS3 : Tips for Gaia Flash FrameWork Development

I decided to share some how tos today for Gaia Framework based on my development experience. For those reading this the first time and don’t know what is GAIA framework about, try going to this post and read more about it.

gaia_flash

Let’s get started – check out the list below for today’s how tos of the day :-

  1. How To : Get the length of the assets loaded inside the page?
  2. How To : To Load an Asset of Unknown Type?
    e.g. src=”http://www.mymp3.com/loadfile.php?id=123

Read the rest of this entry »

AS3 : Gaia FrameWork Development Guide

Today, I’m gonna talk more in general about my experience in Gaia Framework. Here are some of the details I’ll cover in this post.

  • The Index – using the index effectively.
  • Assets Management – some example, on how to hook up an xml and graphical asset.

Gaiapanel

Read the rest of this entry »

Flash Development : The Gaia Framework

logo

How do I work in an environment where there’s alot of flash developers each having their own styles and approach in doing flash application? This thought always came accross my mind whenever I started doing any flash projects together with other new/unknown developers.

The answer is simple, we just agree to use a good actionscript framework. Reason being, Flash development is always 50% coming from design aspect and the other 50% comes from the coders aspect – there is really no good methodology or best practice out there that can satisfy two of the world. Recently, I’ve tried to use this open source framework called GAIA FRAMEWORK. Using this framework, the designers and coders are unified at least under one common understanding of how GAIA FRAMEWORK functions.

It comes with a MXP (extension file) which create a special panel for developers and designers to start a project. Once, a project is created with agreed dimensions and flash version, GAIA basically auto creates all the low level stuff needed by flash developers and designers.

They have the scalfolding method which rapidly create a prototype skeleton of the site. Designers can then, take the fla file to start their work and coder can begin to start their with the classes. GAIA even focus on providing all the javascript file such as swfobject and swfaddress to enable SEO flash concept. This allows site owners to keep track of specific pages within the flash using google analytic.

It may be chaotic at first try, but please try it out at least a week or two to familiarize in how GAIA handles the flash development and you will soon find out the benefits of it.

Page 1 of 512345