A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: have a FLASH MX Preloader script for .MPG movies in a flash file?

  1. #1
    http://www.LineDetail.com Line's Avatar
    Join Date
    Aug 2000
    Posts
    556
    have a FLASH MX Preloader script for .MPG movies in a flash file?

    I want to stream a .MPG movie in a flash movie. Some reason the if-then script I'm using isn't really detecting it's loading and just starts playing automatically with choppiness appearing for those who have slow connections and for some it just doesn't show up at all and just a white spot appears until the movie is fully loading even though there's a preloader animation.

    Any ideas?

    -Line

  2. #2
    Flash Video Moderator Wheels's Avatar
    Join Date
    Dec 2000
    Location
    Minneapolis
    Posts
    1,590
    You just need to target the _level of the movie you are loading to get the info:

    _level1.getBytesLoaded();

    There is an example here:

    Take a look at my code in the unofficial FAQ http://board.flashkit.com/board/show...hreadid=356715 There's a _level preloader in there somewhere.

    Sorry it took so long to get to your message.

    5G

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