A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Preload swf movie in another html document

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    4

    Preload swf movie in another html document

    I want a swf file to be loaded before you enter the html page where it is. Is that possible!?!:

    I have this html page called intro.html with this swf movie called intro.swf. This intro.swf files says welcome to the webpage meanwhile another swf.-movie should be loaded.

    The other swf movie is called main.swf and is placed on a html document called main.html.


    So when the main.swf movie is loaded it should be able to enter this main.html page - but not before that.


    Hope you can help me. I really need this.

    Mads

  2. #2
    Member
    Join Date
    Nov 2003
    Location
    Netherlands
    Posts
    91
    I'd change my design if I were you.

    Anyway, your shopping list would include:
    - 1 intro.html with intro.swf
    - 1 main.html with main.swf

    Main.html has to be open in order to catch a callback from main.swf.
    Main.html has to remain invisible until main.swf is fully loaded.

    Frames? No. Unless you know a way to swap them.
    Window.open? Could work. Open two windows, put the focus on intro, kill intro once main has loaded.

    But then again... better to change your design.
    Hint: your intro page sounds like a "preloader".
    Ha, ha! He is one of the Legion Lost;
    He was never meant to win;

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