SitePoint Sponsor

User Tag List

Results 1 to 19 of 19

Thread: preloader question

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    preloader question

    I have made a preloader and it shows fine when i stream it in flash but when i put it on the webpoage the loader doesnt come up? anyone please

  2. #2
    Old Fogey mancroft's Avatar
    Join Date
    Oct 2002
    Location
    lost
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    zip the fla and put the link here.
    :
    Your public liability: yourpublicliability.org
    :

  3. #3
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heres the preloader by itself.

    http://www.stupidflash.com/stupidflashpre.zip

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

  5. #5
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    now how can you edit that to just play into the next scene instead of frame 5?

  6. #6
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oops never mind i got it to go to next scene. now to see if it will actually apear on the website

  7. #7
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok its still loading everything and the preloader isnt showing up. I have a smaller file there now instead. Anyone please help

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

    put ur file here

    hey, the preloader worked fine 4 me.
    if u r still getting problems, then put the link to the .fla file here. I'll see what's the problem & will correct it.


    Amit

  9. #9
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the preloader is in the previous link i updated it. Did you try it on a webpage? perhaps you need to publish it so its in a html?

  10. #10
    SitePoint Enthusiast RelandR's Avatar
    Join Date
    May 2003
    Location
    Sacramento, Ca.
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't see your file , but as a rule preloaders only play if the content in question needs preloading

    in other words, if/when the test for "getBytesLoaded" comes up true for the total - the next movie plays and the preloader won't be seen or be just a momentary 'flash' on the screen

    if wanted, the scripting would need a delay-thenPlay bit so the preloader is visible to all ... but that is having one just for the sake of - having one (?)

  11. #11
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well the files are from .5 and 1 mg that im putting up. where would you set up the delay in the script

  12. #12
    SitePoint Enthusiast RelandR's Avatar
    Join Date
    May 2003
    Location
    Sacramento, Ca.
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well I tinkered with it a bit and added a frame #4 action, 2 layers & clip called countdown and an invisible button...
    orig stuff stops @4 then this other clip plays then
    either send main time line to frame five ... where movie(s) can start, this is enough of a stall for the short ones to not miss on the preload (assume you eventually have some *coverpage* like content for this)

    ...anywho - check it out below, hope this helps::
    Attached Files

  13. #13
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you so much i will see if this works now

  14. #14
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i like that one much better but the preloader wont show up till its at 100% still. to see what I mean go here

    http://www.stupidflash.com

    click go to sword fight or moose vs flaming porcupine preview
    Last edited by konqest; May 31, 2003 at 13:50.

  15. #15
    SitePoint Enthusiast RelandR's Avatar
    Join Date
    May 2003
    Location
    Sacramento, Ca.
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    On my first go - there, I got the full digit change from low #'s to 100 (in jumps tho)... then on a retry it zoomed straigh to 100 % ...

    ...I'm sure it's a cache thing...
    if you either don't need to wait 'cause the next file is small or because you've got it cached on yer box ...
    you'll succeed at "totalBytesLoaded" rather quickly.

    a small clip reeling off numbers smoothly and in true sequence over a (you set it) time allowence should suffice maybe better than the getBytes action ... unless you really have to stall in true proportion to the size of the up-coming clip (???) ... does that make sense ?

  16. #16
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well i cleared my cache and it still was doing it but if its loading fine with you then im happy you dont mind if i use your preloader on the site right?

  17. #17
    SitePoint Enthusiast RelandR's Avatar
    Join Date
    May 2003
    Location
    Sacramento, Ca.
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Help yourself, tweak arround with it ...

    ...btw:: seems I left out a "" stop() "" action on the last frame of the clip countdown... you may want to add it in to stop it from looping back to the beginning of the countdown

    frame#4 of main timeline>countdownClip>frame#10

    Code:
    stop();
    
    this.onEnterFrame = function() {
    	_root.gotoAndStop(5)
    	
    }

  18. #18
    SitePoint Enthusiast RelandR's Avatar
    Join Date
    May 2003
    Location
    Sacramento, Ca.
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh also... testing "locally" (on the author machine) can have unexpected (biased) results ... cleared cache or no

  19. #19
    SitePoint Enthusiast
    Join Date
    May 2003
    Location
    Canada
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nah the stop down is find you dont really notice the loop back. since i just made the preloader one scene and started the movies on the second scene. I had to add a keyframe to the 6th one and put play on the fifth one but it works now

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
  •