Groups | Blog | Home
all groups > flash actionscript > may 2006 >

flash actionscript : Would like to alter this script


Bradford NO[at]SPAM
5/14/2006 6:44:23 PM
function updateStatus () {
_root.statusField = _root.currentFrame + " of " + _root._totalFrames:
}

I added a preloader to the first frame of working template ('Modern Photo
SlideShow' that came with Flash) which altered everything by one number.
(Example: was 2 of 20 now is 3 of 21) I would like the currentFrame and
totalFrame to come back less one number. Tx.

NSurveyor
5/14/2006 8:16:25 PM
function updateStatus () {
_root.statusField = (_root._currentframe-1) + " of " + (_root._totalframes-1);
Bradford NO[at]SPAM
5/15/2006 4:12:48 PM
NSurveyor
5/16/2006 12:59:05 AM
AddThis Social Bookmark Button