dcsimg
A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Bypass preloader in cached

Threaded View

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    61

    Bypass preloader if cached

    How can I bypass the preloader if someone has the specific swf already cached. I have 2 frames on the main timeline. the first has a stop action in an empty mc and a preloader with the following code:

    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(2);
    }
    }

    In the second frame I have my main movie. Any help would be great from those of you who know as better than me. Thanks ya'll.

    [pk]
    Last edited by Philip Konya; 07-07-2005 at 04:50 AM.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center