A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Default level

Hybrid View

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    11

    Default level

    Eeiieee! I need my main flash movie to be on level one, so that I can load a movie on level 0 (below it). Is there a way to change the level my main movie is on?

  2. #2
    Left-Handed Flash User mickbrit55's Avatar
    Join Date
    Nov 2003
    Location
    NJ USA
    Posts
    1,375
    Hiya

    I guess you could open a new file and call the main swf in using :


    loadMovie("main.swf", "_level1");

    Then put the new content on the main timeline - being _level0

    Mick

  3. #3
    Junior Member
    Join Date
    Mar 2004
    Posts
    11
    Yes, I was going to reserve myself to doing that, but was hoping there would just be a way to change the level of the current movie. No matter, thanks!

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You should just use an empty main movie and load your main.swf on a higher level than 1 (like 10), and load your content on underlying levels from 1 t0 9. If you load something on level 0, you'll clear all the loaded movies on other levels at the same time.

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