Kingsley eLearning Solutions

You have big dreams for your eLearning.
We'll make them come true.

image of Kingsley

Flash

Short ActionScript snippet to count down time

Submitted by Kingsley on Thu, 08/12/2010 - 13:04

Not much to see here...
A friend asked for a snippet of code to count down mins:secs

var interval:Number
var seconds = 90; // one min and 30 secs

function countDown() {
seconds--
mins = Math.floor( seconds / 60 ) //calc mins left
//calc secs left and stick a 0 in if less then 10 (prettier)
secs = seconds % 60 if (seconds == 0) {//stop timer if done
clearInterval(interval)
}
trace( mins + ":" + secs ); //do something with output
}
//call our function every second
interval = setInterval(countDown,1000)

eLearning DevCon 2010

Submitted by Kingsley on Fri, 06/11/2010 - 14:19

I'm really excited about attending and presenting at eLearning DevCon 2010 next week!

I will be presenting 2 BYOL sessions:

  • Port Flash Interactions to Articulate Engage; become rich & famous
  • Incorporating custom-Built Flash into Articulate via the API

I will also be participating in a few round table discussions... one on Flash vs HTML5 and another on Scaling eLearning for large corporations.

Articulate Color Swapping Idea (suggestions pls)

Submitted by Kingsley on Thu, 04/08/2010 - 09:56

Sometimes I get ideas but dont really have a good use for them...
I would love to hear your suggestions on what this might be useful for (or if it is).
Play around with demo here: http://frameentered.com/demos/colorSwap/player.html
There are only three slides... try going to slide 2 then go to any other slide and come back to 2.