Hi, I've been using Flash for awhile, but I still havn't quite figured out how to make a "Loading Screen".. I was wondering if someone could show me how to make one, or show me a place that would help me?
Hi, I've been using Flash for awhile, but I still havn't quite figured out how to make a "Loading Screen".. I was wondering if someone could show me how to make one, or show me a place that would help me?
Hi,
There are lots of demo's around for createing preloaders. Do a google search on "flash preloader tutorials" and you should find lots. Here is a preloader function I wrote that might be useful.........
Code:/* Preloader Function T. Norman http://ntdesigns.net */ stop(); function myPreloader(targetFrame) { createEmptyMovieClip("holder", 9999); centerX = Stage.width/2; centerY = Stage.height/2; holder.createTextField("display", 100, centerX, centerY, 40, 20); holder.display.border = true; holder.display.background = true; this.onEnterFrame = function() { total = int(_root.getBytesTotal()); download = int(_root.getBytesLoaded()); percent = int(_root.getBytesLoaded()/_root.getBytesTotal()*100)+"%"; _root.holder.display.text = percent; if (total == download) { _root.gotoAndPlay(targetFrame); _root.holder.unloadMovie(); delete this.onEnterFrame; } } } //Usage..... function name("frameLabel"); myPreloader("movieStart");
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks