A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: .swf

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    Hey Flashers!

    Can someone tell me how to load .swf files that point to different scenes?

    Example I have a Main.swf that loads a menu.swf at the bottom of the page (into a target) that contains a menu that lets me navigate to scenes back in the main.swf.

    so from the menu.swf what do I put on the buttons to tell it to play scene 1 from the main.swf?


    thanks




  2. #2
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    U must define as target the level of the main movie (usually _level0).

  3. #3
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    Hi:

    I am just not getting it! I played around with it for 2 days now. Can you be a little more specific or even show me some code you might use? I know it's asking alot, but it's driving me crazy. Or can you point me to a tutorial on how to navigate between all these different .swf's & mc in those swf.'s. I'm going crazy!


    Thanks again

  4. #4
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    Ok this seems to work but is this the best way?

    What I've done is set visibility using alpha =0 on _level0

    so when the button is pressed it loads a different .swf and sets the other .swf to invisible. is this the best way?

    It works but I have no idea what's going on behind the scenes (no pun intended)
    I've heard that unloading movies removes them from the cache so they have to load again, which is bad. I'm not unloading them....yet, just making them invisible.
    I have like 8 .swf's that will be loaded and made invisible over & over, Is this wise? what's the best way?

    If I could email someone person to person to have these questions asked, I'd be very grateful. maybe even throw in a mixed-cd of your favorite music. : )

    I know this should easy but it's killing me!

    RT

  5. #5
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    R u loading the movies in the same level, or in a different for each one?

  6. #6
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    different levels.

  7. #7
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    OK, try 2 load each movie in the same level so the new movie 2 replace the old 1. Upoad your files + c how it works.
    2 have 8 movies loaded and playing in the same time (although invisible) doesn't sound good 2 me.

  8. #8
    Junior Member
    Join Date
    Feb 2001
    Posts
    25
    Yeah it doesn't sound good to me either!


    <<OK, try 2 load each movie in the same level so the new movie 2 replace the old 1>>

    if I replace it, will it stay in memory or will it have to reload?

    I will try what you said and let you know if I'm successful.

    thanks so much! btw, where are you from?

    later?

  9. #9
    Old dog learning new tricks

    Join Date
    Dec 2000
    Posts
    1,498
    Greece... U?

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