A tutorial from flashandmath.com that demonstrates how to load swfs into another swf.
line by line I understand how it works but the one intresting part is the "%" used as an opperator.
Here is part of that code:
can anyone explain that?function runOnce(e:Event):void {
if (thisMC.currentFrame == thisMC.totalFrames) {
thisMC.removeEventListener(Event.ENTER_FRAME, runOnce);
index = (index + 1)%(clips.length);
nextClip();
}
}





Bookmarks