A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: getBytesLoaded for external swf files

  1. #1
    Senior Member
    Join Date
    May 2001
    Posts
    351
    i want to load external swf files from a menu, like service, portfolio, stuff like that. and i have a little movie to play while it loads, but i dont know how to get the bytes loaded or see when it is finished loading.

    any help would be greatly appreciated

    thanks

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    http://www.flashkit.com/tutorials/Ac...12/more2.shtml

    A good tutorial that uses getBytesLoaded()

    hope this helps
    gparis

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    351

    thats close, but not what i was looking for

    i already used that tutorial to make the preloader for the main movie. i also created a little opening/closing dor scene in the main movie so you click a button, the doors close, the external movie loads, and when its finished loading, i want the doors to open again. using this preloader tutorial, i would have to put the doors scene in each external movie, wouldnt i? maybe i could have the external swfs pass a variable to the root movie when its done loading, any suggestions?

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    Take the same preloader but instead of saying _root.getBytesLoaded etc, just say _level1.getBytesLoaded etc.. That'll preload your external swfs.
    gparis

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