Revision: 33962
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 15, 2010 05:59 by bradvanspriellgmailcom
Initial Code
//Declare my variables; var photoCounter:Number = 1; var totalPhotos:Number = 11; function nextPhoto(e:MouseEvent) { if (photoCounter != totalPhotos) { trace(photoCounter); Tweener.addTween(this["photo"+photoCounter], {alpha:0, time:.5, transition:"easeOutQuad", onComplete:fadeInNext}); photoCounter = photoCounter + 1; } else { Tweener.addTween(this["photo"+photoCounter], {alpha:0, time:.5, transition:"easeOutQuad", onComplete:fadeInNext}); photoCounter = 1; } }
Initial URL
Initial Description
example of a Variable declaration and use
Initial Title
Variable declaration and use
Initial Tags
Initial Language
ActionScript 3