Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Pre-loading the next swf

New Here ,
Feb 13, 2013 Feb 13, 2013

Guys,

i gonna tell the situation from the very beginning:

I'm doing a book, wich each chapter is separated by swf (chapter_1.swf, chapter_2.swf, etc).

In the final of each swf, he calls the next by the command: _root.loadMovie("next.swf")

(PS: i'm not using the MovieClip load method)

The problem is; when the swf are uploaded on my server, and i click to load the next swf, my screen goes blank while he download it.

All i want to do, is pre-load the next swf, while the user is reading the actual chapter, to avoid this blank screen time. Is it possible?

I read something about getBytesLoaded/Total, but don't know how to execute it.

Please explain it clear cuz i'm new with this. And thank you very much for the support!

TOPICS
ActionScript
438
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Feb 13, 2013 Feb 13, 2013

If you want to have information regarding the loading progress of a file then you need to use the MovieClipLoader class.

If you search Google you should be able to find a tutorial using search terms like "AS2 MovieClipLoader tutorial"

Translate
LEGEND ,
Feb 13, 2013 Feb 13, 2013
LATEST

If you want to have information regarding the loading progress of a file then you need to use the MovieClipLoader class.

If you search Google you should be able to find a tutorial using search terms like "AS2 MovieClipLoader tutorial"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines