dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: importing scenes?

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Location
    Portland, Oregon
    Posts
    4

    importing scenes?

    Is there any way to get a scene from one movie to another?

    I made a preloader in one seperate file but I want the preloader to be in many different swfs... do i have to reconstruct the preloader in every single file??

    any help would be wonderful,

    stevie

  2. #2
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    Let's say you have a preloader in Main.swf. If Main.swf loads another swf file, that swf file can use the preloader in Main.swf. You just have to leave it out on the stage and tell it to act as a preloader for the new movie, or export it for actionscript.

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Location
    Portland, Oregon
    Posts
    4
    mmmmph.. that sounds very confusing for a beginner like me.. is there no other way??

  4. #4
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    Well what I do is I just have a preloader in Main.swf. It always stays on the stage. I set it up so it can be a preloader for anything you tell it to. So in the beginning I do something like Loader.Check( _root);. So the preloader does it's thing until Main.swf is loaded and then disappears. Whenever I load a new page, I load it into an empty movieclip called Page. So then I do Loader.Check( Page );. The preloader reappears, does its thing, and disappears when Page is loaded.

    When all else fails, you could just copy the preloader into all of your movies. Preloaders don't take up that much space, so you should be okay. =)

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