dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: a preloader for a scrollpane?!?

  1. #1
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    What I have is a bunch of thumbnails of pictures in a scrollpane. It takes forever to load so I threw a preloader in before it, but it doesn't work!! Flash loads whatever is in the scrollpane right off the bat and doesn't give the preloader a chance to appear and show the progress. I have absolutely no idea how force Flash to load the scrollpane movie after it has loaded the preloader stuff!! PLEASE HELP!!!

    David

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    What you have to do is create a new preloader movie, which sole purpose in life, is to load your present movie (without it's own preloader!), in an empty holder movie clip or on another level. It will then work!

    Maybe post my example .fla of such a preloader, later tonight, if I get time to clean it up a little!

  3. #3
    Junior Member
    Join Date
    Jun 2002
    Posts
    9

    thx

    thx oldnewbie.

  4. #4
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    Actually I already tried that. I used:

    this.createEmptyMovieClip("holder", 1);
    holder.loadMovie("scrollpane.swf");

    scrollpane.swf being what needs to be preloaded, and it still doesn't work.

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    If that's your only code, then sure that won't work!

    What would you like displayed? Only a loading bar, a percentage message, bytes loaded of total bytes?

    http://odin.prohosting.com/~oldnew/preload5.htm

  6. #6
    Junior Member
    Join Date
    Jun 2002
    Posts
    9
    All three if at all possible.

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