SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jan 2002
    Posts
    245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Loading flash movies in background

    Hi,

    I'm starting work on my own site which is going to have samples of my work. To avoid the visitor having to wait for the whole site to download I want to break the site up into small movies so that while one movie is being played the others can be downloading in the background.

    Does anyone have any tips on the best way to do this.


    Qamar

  2. #2
    ...
    Join Date
    Jan 2002
    Location
    London, UK
    Posts
    759
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    qamar, there's a few ways to do this one way is to load your sections into different levels, something like this...

    b.t.w just using PHP to make it easier to follow


    PHP Code:

    var 100;

    // remove 1 from x
    x--
    // x = the level to load your movie into
    loadMovie ("http://www.pathtoyourmovie.com/blah.swf"x); 
    or you could load your sections into movie clips and make them invisible until needed...

    PHP Code:


    _root
    .moviePloy._visible false;

    // moviePloy = the name of the mc your loading into
    loadMovie("http://www.pathtoyourmovie.com/blah.swf"moviePloy); 
    Last edited by Chas; Feb 18, 2002 at 19:39.

  3. #3
    SitePoint Addict
    Join Date
    Jan 2002
    Posts
    245
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Chas,

    I'm starting on it in about a weeks time. I'll give it a shot then.

    Qamar


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
  •