I MADE MY NEW WEBSITE TEMPLATE!
Ain't it sexy?
4 hours of work..
2 hours of experimenting with CSS..
And a whole bunch more.
I think I might add a new forum topic on the right, if I get the chance 
It took me a looong time of thinking and all..
Hope you all will accept this new, and awesome template..
IF YOU COMPLAIN ABOUT THE BUTTONS, YOU ARE NOT GOING TO GET IT YOUR WAY! I love em just the way they are..
-Fighterlegend
Created a video player!
I finally finished my Flash Video Player, and it kicks butt!
Only bad thing, I forgot to set the variable right.. so now the videoID is -1..
For instance:
if you wanted to play video #3, you would need to type in ?videoID=2
How to create a Flash Performance Calculator in AS3
This is a simple AS3 performance calculator I created..
/*********************************************************\
|*Thanks for using Fighterlegends performance Calculator!*|
\*********************************************************/
var documentFPS = stage.frameRate;
var lastTime = getTimer();
var samples = new Array(30);
var frameCounter = 0;
stage.addEventListener(Event.ENTER_FRAME, update);
function update(event:Event) {
var currentTime = getTimer();
var timeDif = (currentTime-lastTime)/1000;
lastTime = currentTime;
var actualFPS = 1/timeDif;
samples[frameCounter % 30] = actualFPS;
frameCounter++;
var averageFPS = 0;
for (var i = 0; i < 30; i++) {
averageFPS += samples[i];
}
averageFPS /= 30;
var performance = Math.round(averageFPS/documentFPS *100);
var lag = 100-performance;
fps.text = Math.round(averageFPS) + " fps\n" + documentFPS + " target fps\n" + performance +
"% performance\n" + lag + "% lag\n";
}
Just create this dynamic box on the stage:
Instance: fps
width: 140
height: 84
Hope you give me credit!
UPDATE:
I got a new, and better update of the script from WarKry on Kongregate!
