AS3: Basic Timer example - ActionScript 3 - Snipplr
january 2010 by jonobot_
#
var timer:Timer = new Timer(1000, 2);
#
timer.addEventListener(TimerEvent.TIMER, blah);
#
timer.start();
#
#
function blah(e:TimerEvent):void{
#
trace("Times Fired: " + e.currentTarget.currentCount);
#
trace("Time Delayed: " + e.currentTarget.delay);
#
}
as3
flash
timer
actionscript
webdev
howto
var timer:Timer = new Timer(1000, 2);
#
timer.addEventListener(TimerEvent.TIMER, blah);
#
timer.start();
#
#
function blah(e:TimerEvent):void{
#
trace("Times Fired: " + e.currentTarget.currentCount);
#
trace("Time Delayed: " + e.currentTarget.delay);
#
}
january 2010 by jonobot_
Peter deHaan: Using the Timer class in ActionScript 3.0
may 2008 by jonobot_
var myTimer:Timer = new Timer(1000, 1); // 1 second myTimer.addEventListener(TimerEvent.TIMER, runOnce); myTimer.start(); function runOnce(event:TimerEvent):void { trace("runOnce() called @ " + getTimer() + " ms"); }
actionscript
flash
as3
programming
timer
development
may 2008 by jonobot_
Letter spacing and alpha in dynamic text fields - Flash Kit Community Forums
march 2008 by jonobot_
var timerformat:TextFormat = new TextFormat(); timerformat.letterSpacing = 3; timerdisplay.setTextFormat(timeformat);
text
formating
flash
dynamic
letter
spacing
march 2008 by jonobot_
deconcept › SWFObject: Javascript Flash Player detection and embed script
november 2006 by jonobot_
<script type="text/javascript" src="swfobject.js"></script> <div id="flashcontent"> This text is replaced by the Flash movie. </div> <script type="text/javascript"> var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#336699"); so.write("fl
flash
javascript
swfobject
embed
web
design
xhtml
november 2006 by jonobot_
related tags
3d ⊕ actionscript ⊕ adobe ⊕ agency ⊕ album ⊕ alternate ⊕ animation ⊕ api ⊕ app ⊕ apple ⊕ art ⊕ as3 ⊕ ascii ⊕ audio ⊕ blog ⊕ book ⊕ chart ⊕ charts ⊕ class ⊕ cms ⊕ code ⊕ college ⊕ component ⊕ components ⊕ content ⊕ converters ⊕ coverflow ⊕ crossdomain ⊕ cs3 ⊕ cursor ⊕ custom ⊕ design ⊕ development ⊕ domain ⊕ dynamic ⊕ ebook ⊕ education ⊕ email ⊕ embed ⊕ extensions ⊕ feelings ⊕ flash ⊖ flv ⊕ formating ⊕ free ⊕ fullscreen ⊕ gallery ⊕ generator ⊕ geturl ⊕ graph ⊕ graphic ⊕ howto ⊕ html ⊕ html5 ⊕ htmlemail ⊕ illustration ⊕ image ⊕ inspiration ⊕ interactive ⊕ interface ⊕ internet ⊕ javascript ⊕ jquery ⊕ letter ⊕ loader ⊕ loop ⊕ mac ⊕ mail ⊕ marketing ⊕ math ⊕ menu ⊕ mouse ⊕ mp3 ⊕ music ⊕ online ⊕ opensource ⊕ osx ⊕ pageflip ⊕ panorama ⊕ photo ⊕ photogallery ⊕ photography ⊕ photos ⊕ player ⊕ plugin ⊕ podcasting ⊕ pointer ⊕ portfolio ⊕ pro ⊕ production ⊕ programming ⊕ reference ⊕ resource ⊕ resources ⊕ rounding ⊕ savdev ⊕ school ⊕ security ⊕ slideshow ⊕ slideshowpro ⊕ software ⊕ sound ⊕ source ⊕ spacing ⊕ sprite ⊕ sprites ⊕ ssp ⊕ streaming ⊕ swf ⊕ swfobject ⊕ templates ⊕ text ⊕ timer ⊕ tips ⊕ tool ⊕ tools ⊕ tutorial ⊕ tutorials ⊕ tween ⊕ university ⊕ video ⊕ viewer ⊕ visualization ⊕ web ⊕ web2.0 ⊕ webdesign ⊕ webdev ⊕ wiki ⊕ wordpress ⊕ work ⊕ xhtml ⊕ xml ⊕Copy this bookmark: