Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 31st, 2002, 11:31 AM
g7pwx's Avatar
g7pwx g7pwx is offline
Gettin' there
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 27 g7pwx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
preloader

Hi. I have a preloader attached to the first frame of a movie that is about 550Kb

the preloader isnt loading in right away it loads about 256Kb before the preloader loads. i know this by looking at the bandwith profiler and the first frame is 256Kb

if i put the preloader on its own it is nice and small size wise. anyone tell me why this is or how i can get the preloader to reduce in size on the first keyframe.

Hope this made sence if not let me know i will try and elaborate.

Thanks.

Reply With Quote
  #2  
Old November 5th, 2002, 01:28 AM
plick75 plick75 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2002
Posts: 12 plick75 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
try this

try this. This might help it to make sure all of the frames and bytes are loaded. Place a stop() action on the first frame of your movie's main timeline. Following that stop() action, enter code taht checks to see if all the bytes in the movie are have been loaded. Place an empty movie clip on the Stage and place this script on it:

OnClipEvent (load) {
total= int (_root.getBytesTotal());
}

onClipEvent (enterFrame) {
loaded = Math.ceil(_root.getBytesLoaded());
percent = Math.ceil(loaded/total*100);
if (percent >+ 100) {
_root.play();
}
}

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > preloader


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway