dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Flash video causing rest of HTML page not to load.

Hybrid View

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Location
    London
    Posts
    410

    Flash video causing rest of HTML page not to load.

    I have Flash video on a front page of a website.
    I think there's a definite bug.
    Not sure what the cause of the problem is, but I think I've at sussed out what the problem is.

    The front page, apart from the Flash video, is just GIF's and text.
    The webpage loads up.
    Some of the graphics get loaded... but then it stops.
    The video loads and starts streaming and playing.

    It seems as though the video hogs ALL of the download bandwidth.
    This means that the rest of the graphics doesn't get loaded: until the video has finished downloading.

    What is my solution?
    Use Javascript to load the Flash video last?
    If so... how??

    Any help would be appreciated.

    Thanks.


    OM

  2. #2
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    Use JavaScript to preload your images, that should solve it.

  3. #3
    Senior Member
    Join Date
    Aug 2004
    Location
    London
    Posts
    410
    doing that at the moment.

  4. #4
    Not Real since 1985
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    229
    Any chance to start loading the video triggered by javascript after preloading the images? I mean, using flash.external.ExternalInterface ?

  5. #5
    Senior Member
    Join Date
    Aug 2004
    Location
    London
    Posts
    410
    erm... that sound like a very good idea.
    i'm surprised though that this hasn't been identified as a serious problem for other people.
    or am i doing something wrong?

    what is flash.external.ExternalInterface?
    not tooo much of an expert with javascript.
    but know how to program... so using this shouldn't be a problem.
    let me know if you can give me any more information on that.
    thanks.

  6. #6
    Not Real since 1985
    Join Date
    Feb 2002
    Location
    Netherlands
    Posts
    229
    I try to find again what I saw. In a hurry now, but for now I can say I downloaded a bunch of pdf's from Macromedia, contains several books.
    One is called 'Learning Actionscript 2.0 in Flash', file: fl8_learning_as2.pdf
    Page 667 is about the External API. In fact, from page 663 on it is about 'sending messages to and from Flash Player'.
    You don't use fscommand but a more reliable API.

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