A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Is this allowed ?

  1. #1
    Member
    Join Date
    Feb 2004
    Location
    Sunderland . UK
    Posts
    38

    Is this allowed ?

    Loading a external .SWF into an already loaded external .SWF ?

    Ie , my main movie loads up an external .SWF

    that .SWF then trys to summin another .SWF inside it. I woulda thought this would work straight , off , but the last .SWF to appear isnt appearing.

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    The path has to be correct. If you load the first swf into a target clip, say, mtClip1, then inside that swf is mtClip2, the path to load the next swf is:

    _root.mtClip1.mtClip2.loadMovie("movie3.swf");

    of course, it won't work when you test movie, until you test from the main movie.

  3. #3
    Member
    Join Date
    Feb 2004
    Location
    Sunderland . UK
    Posts
    38
    Originally posted by iaskwhy
    The path has to be correct. If you load the first swf into a target clip, say, mtClip1, then inside that swf is mtClip2, the path to load the next swf is:

    _root.mtClip1.mtClip2.loadMovie("movie3.swf");

    of course, it won't work when you test movie, until you test from the main movie.
    Star , thanks bubba.

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