stop(); label_txt.embedFonts = true; label_txt.html = true; label_txt.styleSheet = _parent.my_styleSheet; counter_txt.embedFonts = true; counter_txt.html = true; counter_txt.styleSheet = _parent.my_styleSheet; this.onRollOver = function() { block_bg.gotoAndStop(2); label_txt.setTextFormat(_parent.hoverfmt); } this.onRollOut = function() { block_bg.gotoAndStop(1); label_txt.setTextFormat(_parent.labelfmt); } /*//////////////////////////////////////////////////////////// FUNCTIONS AND VARIABLES FOR THE COUNTER ////////////////////////////////////////////////////////////*/ var cCount = 0; // current count var intervalId:Number; if (cSpeed == undefined) { cSpeed = 10; } //trace('iniBooks='+iniBooks); var totalBooks=0; function executeCallback():Void { //trace('from clip'); //if(cCount == cSpeed) { iniBooks = Math.round(iniBooks + cSpeed); //var totalBooks=totalBooks+iniBooks; //trace(totalBooks); counter_txt.htmlText = '