Posted in e-Learning on March 8th, 2007 2 Comments »
As a relative rookie to the e-Learning scene (about a year and a half professionally with a small amount of research done in college), and trying to write my first post on the subject, I was struggling for a topic. Maybe this is a sign that I should keep this blog about Flash and leave […]
Posted in Flash on March 7th, 2007 2 Comments »
Today at work I wrote a nifty little piece of code that I couldn’t believe we hadn’t written before… To center a MovieClip on a point regardless of its registration point. Until now we had never really needed a MovieClip to center like this, and always justified things to 0,0. I’m creating an […]
Posted in Flash on March 6th, 2007 2 Comments »
DelegatePlus is a class which is almost exactly like the Delegate class except you can pass parameters with the function.
The Delegate class helps you manage scope when calling functions from with other functions, classes or events. Take the example code below:
import mx.utils.Delegate;
function traceThis(){
trace(“Tracing!”);
}
var myInt = setInterval(Delegate.create(this, traceThis), 1000);
A very simple class that just outputs […]