SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: preloader

  1. #1
    SitePoint Evangelist escapedf's Avatar
    Join Date
    May 2002
    Location
    Cape Town
    Posts
    458
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy preloader

    does anyone have a realy good preloader.fla file for me?

    I have tried with different ones, and so far I only got a really simple one here: www.beyondyourdreams.co.uk

    How does one get a more fancy one like this at:
    www.10plus1.com

    Im not too good at all the actionscripting that goes into this.
    Beginner here!

    Redoing my site, so yes it does take a lonnnngg time to load , i know, busy fixing!

    Many thanks
    "have the courage to follow your heart and intuition. They somehow already know what you truly want to become"

  2. #2
    SitePoint Enthusiast guptaamit23's Avatar
    Join Date
    Apr 2003
    Location
    Right Here
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up A preloader Flash --> The Action Script

    U can add a preloader by adding the following actions.

    on the 1st frame of the movie:-

    framesLoad = _root._framesLoaded;
    framesTotal = _root._totalFrames;

    if (framesLoad < framesTotal) {
    percentLoaded = int((framesLoad/framesTotal)*100);
    } else {
    gotoAndPlay(5);
    }

    on the 2nd frame, u put actions:-

    gotoAndPlay(1);

    ur movie starts from frame 5.
    The percentLoaded above is the name of the dynamic text field in which u want to display the percent loaded.
    u can put ne light animation 2 make it good while the movie loads.

    Enjoy
    Amit


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •