Help with preloader

This is a discussion on "Help with preloader" within the Flash & Multimedia Forum section. This forum, and the thread "Help with preloader are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 6th, 2007, 02:49
New Member
Join Date: Sep 2007
Location: Gaffney, Alabama
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Help with preloader

I am trying to configure a pre-loader to work with a simple page. No animations just as soon as it loads I want it to display the page with no animations. I have the code attached to the preloader movie clip here is the code:

Code: Select all
onClipEvent (load) {
    total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
    loaded = _root.getBytesLoaded();
    percent = int(loaded/total*100);
    text = percent+"%";
    gotoAndStop(percent);
    if (loaded == total) {
        _root.gotoAndPlay(2);
    }
}
My problem is that when I test it or I even tried uploading it to the site it loads to 75% then finally displays the preloader and then loads the rest so you really have no time to look at it. The preloader should display as soon as the person goes to that page if he or she has dsl? Its not a big preloader. So im not sure. Please reply. Thanks.

Last edited by karinne; Dec 6th, 2007 at 12:16. Reason: Please use vBcode when adding code in your post.
Reply With Quote

  #2 (permalink)  
Old Dec 6th, 2007, 13:00
Reputable Member
Join Date: Aug 2007
Location: netherlands
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to ahwell Send a message via Yahoo to ahwell
Re: Help with preloader

uncheck the 'load in first frame' of your movieclips,music and components in the linkage property and see if your preloader does the same thing.
Reply With Quote
  #3 (permalink)  
Old Dec 6th, 2007, 13:57
marSoul's Avatar
Moderator
Join Date: Sep 2007
Location: Tehran - Iran
Age: 28
Posts: 411
Blog Entries: 2
Thanks: 3
Thanked 4 Times in 4 Posts
Send a message via MSN to marSoul Send a message via Yahoo to marSoul
Re: Help with preloader

Do you have it working online ? Or if you send the file it will be better...
Also i think your code should be like this

Code: Select all
onClipEvent (enterFrame) {
total = _root.getBytesTotal();
    loaded = _root.getBytesLoaded();
    percent = int(loaded/total*100);
    text = percent+"%";
    gotoAndStop(percent);
    if (loaded == total) {
        _root.gotoAndPlay(2);
    }
}
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)

Last edited by marSoul; Dec 6th, 2007 at 14:27.
Reply With Quote
Reply

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
preloader crazytyler34 Flash & Multimedia Forum 3 Oct 28th, 2007 17:27
preloader help jpixel Flash & Multimedia Forum 3 Sep 27th, 2007 20:35
Preloader Problems 2 imriven Flash & Multimedia Forum 2 May 26th, 2007 19:28
Help with preloader huminuh83 Flash & Multimedia Forum 4 Jan 6th, 2007 20:10
how do i insert a preloader ? tigas langaw Flash & Multimedia Forum 15 Jun 13th, 2005 14:03


All times are GMT. The time now is 08:19.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43