A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: loading external swf into specific area?

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    20

    loading external swf into specific area?

    Hi guys,

    I would like to loadMovieNum into a specific area, without having to recompile and fix the positions of the original movies.
    How could i possibly do that?

    Thanks

    God bless

    the litchi

  2. #2
    Member
    Join Date
    Jan 2001
    Posts
    34
    You can do this by creating a movie clip that you will load you swf's into. Then position the movie clip on the stage where you wish your loaded movies to appear.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Location
    Dallas, TX USA
    Posts
    171

    if you got mx...

    name your movie clip instances, then you can forget the load movie num crap and used named variables and instances...much cleaner, easier and more flexible with relation to _root. and _parent. nesting upwards and downwards...

    from the main timeline using the 'with' statement and names movie clips (empty until you:

    loadMovie("name.swf", "name_of_blank_clip");

    Of course with a nested movie, you:

    with (nested_moviename){
    loadMovie("name.swf", "name_of_nested_clip");
    }

    In the nested clip, and want to load into main timeline clip you:

    with (_root.moviename){
    loadMovie("name.swf", "name_of_movieclip");
    }

    In nested movie (2 levels down from main timeline) and wanting to loade one level upwards clip you:

    with (_parent.levelup1_moviename){
    loadMovie("name.swf", "name_of_movieclip");
    }


    Peace.

  4. #4
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    I load my external .swf into an empty movieclip on the main stage:

    Code:
    loadMovie("http://www.yahoo.com/your.swf" , "targetMC");

  5. #5
    Junior Member
    Join Date
    Mar 2002
    Posts
    20

    Thanks

    Thank you guys!

    It's as always a great pleassure to use this forum for help!


    God bless!

    God bless

    the litchi

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