Adobe Dreamweaver Forums



Last 10 THreads :         Publishing 16000 frames (Last Post : NedWebs - Replies : 5 - Views : 6 )           »          Flash CS4 3D Spray Brush Tool (Last Post : poodyglitz - Replies : 0 - Views : 1 )           »          Changing platforms (Last Post : Murray *ACE* - Replies : 1 - Views : 2 )           »          Purple border around my link!! (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »          DW CS3 won't work on Vista Business (Last Post : Murray *ACE* - Replies : 3 - Views : 4 )           »          misalign graphic (Last Post : Walt F. Schaefer - Replies : 1 - Views : 2 )           »          While executing error (Last Post : TedMoore - Replies : 4 - Views : 5 )           »          Adobe Flash 10 kills Wimpy (Last Post : midiwriter - Replies : 40 - Views : 259 )           »          Need assistance converting some AS2 code to AS3 (Last Post : NedWebs - Replies : 4 - Views : 5 )           »          Help with CFMAIL QUERY? (Last Post : BALAJI_JAY - Replies : 4 - Views : 5 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flash
 
Tags:



Reply
  #1 (permalink)  
Old 09-07-2008, 02:20 PM
shevi2027
 
Posts: n/a
Diggs:
Default preloader

Hello

I found this tutorial on how to creat a preloader
"http://www.lukamaras.com/tutorials/preloaders/bas ic-loading-bar-preloader.html"
I tried doing as mentioned in the tutorial but I have 2 problems..

1. My site loads before the preloader has completed. Click
http://img.photobucket.com/albums/v1...er/problem.jpg to view it.


2. The preloader is always visible. I even added an extra line to the code
(in bold).
[Q]loadingBar.onEnterFrame = function() {
kBytesLoaded = this._parent.siteLoader.getBytesLoaded() / 1024;
kBytesTotal = this._parent.siteLoader.getBytesTotal() / 1024;
percentage = Math.round(kBytesLoaded / kBytesTotal * 100);
this._xscale = percentage;
if (percentage == 99) {
delete this.onEnterFrame;
loadingBar._visible = false;
}
}[/Q]

Any idea how to make it work?

Thanks



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-12-2008, 01:14 PM
shevi2027
 
Posts: n/a
Diggs:
Default Re: preloader

anyone?
Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:03 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk