Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Preloader placement
 

ekora




quote this post edit post

IP Loged report this post

Old Post  02-24-06 - 03:16 PM  
I have a host swf file that uses loadMovie to call in about 8 external swf
files on each seciton of my website.  I wanted to show a preloader while eac
h
swf file is loaded, but I don't know whether to put the preloader in each of
the external swf files or put one in each section of the host swf file.

Thanks for your input,
Brian



Post Follow-Up to this message ]
Re: Preloader placement
 

ekora




quote this post edit post

IP Loged report this post

Old Post  02-24-06 - 03:16 PM  
I got it to work within each external swf, aside from one in particular.  Th
e
one that it's not working on is one that has three semi-hefty movie clips.  
Is
there a way to add the percentages of each of those three movie clips, divid
e
by three, and output the average of all of them loading?

This is what I used for the preloader script:

onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndStop(3);
}
}

Thanks in advance,
Brian





Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 05:12 AM. Post New Thread   
  Previous Last Thread   Next Thread next
Flash Site Design archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top