Oct 21, 2003 #1 bubu Programmer Joined Mar 3, 2002 Messages 463 Location RO Hello guys! How can i move the percentage text like here: http://www.internetics.ro Thanks a bunch! Regards, Dragos.
Hello guys! How can i move the percentage text like here: http://www.internetics.ro Thanks a bunch! Regards, Dragos.
Oct 21, 2003 1 Thread starter #2 bubu Programmer Joined Mar 3, 2002 Messages 463 Location RO onClipEvent (enterFrame) { this._x = 260 + _parent.percentloaded - 0.500000; } I just can't understand why "... -0.500000" Regards, Dragos. Upvote 0 Downvote
onClipEvent (enterFrame) { this._x = 260 + _parent.percentloaded - 0.500000; } I just can't understand why "... -0.500000" Regards, Dragos.
Oct 21, 2003 Thread starter #3 bubu Programmer Joined Mar 3, 2002 Messages 463 Location RO Solved it. http://www.inwww.ltd.uk/tektips/smooth_preloader/mouse_percentage.html ...and here is the code on the main _mc: onClipEvent (enterFrame) { kbloaded=int(_root.getBytesLoaded()/_root.getBytesTotal()*100); percentage.percent = kbloaded + "%"; barwidth=kbloaded*1.195; loadbar._width=barwidth; percentage._x=barwidth; if (kbloaded == 100) { _root.gotoAndPlay("main" } // end if } Regards, Dragos. Upvote 0 Downvote
Solved it. http://www.inwww.ltd.uk/tektips/smooth_preloader/mouse_percentage.html ...and here is the code on the main _mc: onClipEvent (enterFrame) { kbloaded=int(_root.getBytesLoaded()/_root.getBytesTotal()*100); percentage.percent = kbloaded + "%"; barwidth=kbloaded*1.195; loadbar._width=barwidth; percentage._x=barwidth; if (kbloaded == 100) { _root.gotoAndPlay("main" } // end if } Regards, Dragos.