Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-03-2006, 07:30 PM   #1
Frosty_spl
Member
 
Join Date: Sep 2005
Posts: 66
Default Premature preloader

Ive searched, and came up empty handed.

I found why a preloader will come in late. But mine finishes too early.

It loads about half of what its suppose to, then the content loads like normal. (it should loads all 367k of the info, but it only goes to around 170, then the content loads)

What could be wrong?

This preloader is from an older version of flash, and it worked fine in flash 8, but i tweaked some of the visual elements of it, and now it prematurely preloads.

thanks for your help!

Code:
onClipEvent (enterFrame) {
	loaded = _parent.getBytesLoaded();
	total = _parent.getBytesTotal();
	progress = Math.round((loaded/total)*100);
	loaderInfo = Math.round(loaded/1000) + " k loaded / " + Math.round(total/1000) + " k total";
	progressBar._width = progress * 2;
	if (loaded == total) {
		_parent.nextFrame();
	}
}
Frosty_spl is offline   Reply With Quote
Old 08-03-2006, 08:37 PM   #2
Frosty_spl
Member
 
Join Date: Sep 2005
Posts: 66
Default

I figured it out

I had to put a stop action in the frame above the preloader, in the timeline.
Frosty_spl is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd IE issues with a preloader ajdphoto ActionScript 2.0 2 03-17-2008 08:10 AM
Issue with loadMovie and Preloader jaxson ActionScript 2.0 2 01-28-2005 02:02 AM
Preloader jumps to complete before movie loads JGalt ActionScript 1.0 (and below) 2 02-14-2004 08:57 AM


All times are GMT. The time now is 03:25 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.