Sunday, December 21, 2008

Thanks

Thanks Paige for a great semester!

Monday, December 8, 2008

Flash open-source site

a href="http://osflash.org/open_source_flash_projects

Great Site!

Flashdance

Sounds in Flash are really stupid, and not well thought out...I hope they work on it a little more in CS4.

http://www.flash-games.net/online/3172/your-face.html

I like that game for somereason...

actionscript 3 for Countdown clock

Here's my code for the countdown on my website:
I ended up having to change it a little from the code I found online

stop();
//Create your Date() object
var endDate:Date = new Date(2009,3,29);
//Create your Timer object
//The time being set with milliseconds(1000 milliseconds = 1 second)
var countdownTimer:Timer = new Timer(1000);
//Adding an event listener to the timer object
countdownTimer.addEventListener(TimerEvent.TIMER, updateTime);
//Initializing timer object
countdownTimer.start();
//Calculate the time remaining as it is being updated
function updateTime(e:TimerEvent):void
{
//Current time
var now:Date = new Date();
var timeLeft:Number = endDate.getTime() - now.getTime();
//Converting the remaining time into seconds, minutes, hours, and days
var seconds:Number = Math.floor(timeLeft / 1000);
var minutes:Number = Math.floor(seconds / 60);
var hours:Number = Math.floor(minutes / 60);
var days:Number = Math.floor(hours / 24);

//Storing the remainder of this division problem
seconds %= 60;
minutes %= 60;
hours %= 24;

//Converting numerical values into strings so that
//we string all of these numbers together for the display
var sec:String = seconds.toString();
var min:String = minutes.toString();
var hrs:String = hours.toString();
var d:String = days.toString();

//Setting up a few restrictions for when the current time reaches a single digit
if (sec.length < 2) {
sec = "0" + sec;
}

if (min.length < 2) {
min = "0" + min;
}

if (hrs.length < 2) {
hrs = "0" + hrs;
}

//Stringing all of the numbers together for the display
var time:String = d + ":" + hrs + ":" + min + ":" + sec;
//Setting the string to the display
if (time_txt != null) { //Null object reference fix
time_txt.text = time;
}
}

Saturday, December 6, 2008

Tutorial

Great video tutorials for after effects.

http://www.videocopilot.net/tutorials/

Locoarts

This is a great flash website, this are animations from Argentina. Hope your guys like it.

http://www.locoarts.com.ar/

Friday, December 5, 2008

cool flash portfolio

http://www.headcasedesign.com/