A Flash Developer Resource Site

Results 1 to 20 of 189

Thread: For everyone with a preloader problem

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2007
    Location
    Nottingham, England
    Posts
    263
    thanks - some interesting bed time reading...

    edit: it's flash 8 i'm using.

  2. #2
    Senior Member
    Join Date
    Jan 2007
    Location
    Nottingham, England
    Posts
    263
    actually - that's worked a treat! it was the case sensitive thing you mentioned- thanks whispers...

    also i'll be adding the php code to my list of things to take a heavy interest in - it looks a little out of my depth at the moment (although a lot of things did before i started using this site )

  3. #3
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,755
    Quote Originally Posted by inquizard
    actually - that's worked a treat! it was the case sensitive thing you mentioned- thanks whispers...

    also i'll be adding the php code to my list of things to take a heavy interest in - it looks a little out of my depth at the moment (although a lot of things did before i started using this site )
    hi there is NO PHP, I just wrapped the code in some PHP tags on the forum so the action script is color coded and easier to read..

    its ALL actionscript..

    just take the code open a new .fla and paste that in there.. and tst nothign else needs to be done.

  4. #4
    Senior Member
    Join Date
    Jan 2007
    Location
    Nottingham, England
    Posts
    263
    Quote Originally Posted by whispers
    hi there is NO PHP, ...
    that's it i'm going to bed!

    thanks again whispers for your help - i came across your posts about not putting a preloader in the loading swf. ended up changing my site today because of it and seemed to have solved a problem before i realised it for a change.

    edit: OMG i just tried your code and i now have alot more to think about... and i was so looking forward to other stuff tomorrow
    Last edited by inquizard; 09-24-2007 at 04:40 PM.

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    14
    hello there,
    i have this code for my preloading, it works fine, but this one waits for the
    entire site to load, how can i modify it, for a certain certain number of frames
    to be loaded and the move on.

    PHP Code:
    loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100)+"%");

    if (
    _root.getBytesLoaded() == _root.getBytesTotal()) {    //Check for finished loading
        //If loaded, final update to fields
        
    loadPercent "100%";
        
        
    gotoAndPlay("Scene 1"1);    //Where to go once your movie is loaded

    thanks

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