A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Load movie (but behind/under some content in main site)

  1. #1

    resolved



    Hi...

    How do i do this ????

    1.
    I wanna load a .swf into my main site.
    (so far so good)

    2.
    But here is the problem:
    I Want part of my main site to cover the uploaded .swf (part of the menu etc...)
    The main site is of course "level 0"
    And the lowest level in uploaded .swf's is 1.
    So.....How ????

    Please help me out.....Thanx.



    Tor

  2. #2
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    you can load the .swf into a blank movieclip that is on the layer below all the rest of your content in your main movie, name the movieclip "holder" then use:

    Load Movie("yourmovie.swf","/holder")

    Thats all!

    Hope it helps!
    Regards FlashGuru

  3. #3

    resolved Thanx :)


    Hi FlashGuru....

    Thanx for ur superfast reply !!!!!
    U just saved me.!


    KeepUp

    Tor

  4. #4

    resolved ??&%#??



    Hi again.. (blush)....

    I just tryed it out, it looked sooooo simple..

    This is probably just me , but......
    exactly where should i type "/holder" ???

    I think i tryed everything.
    under "level"...under "target", string , expression.....
    Please try to explain my stupid brain again !!!


    Sorry FlashGuru... hope i dont bother u 2 much.


    Tor




  5. #5
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    you dont bother me you rock, you only learn by making mistakes

    So when you go to the load movie command there are two boxes, level or target, type /holder into the target box

    Hope that helps!
    Regards FLashGuru

  6. #6

    resolved Oh **** .......i'm stupid.



    (speak in a whisper, fontsize=0,1)

    "it still dont work....i understand if u ignore this...
    or kill me...or.....maby mail me an .Fla?..or submit a
    new tutor under actionscript?"

    "i just started to explore actions.....well...i guess i have to explore some more"


    regards

    Tor "not only do i rock.....i have rocks for brains" Dahlin







  7. #7
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    make sure the movielcip has an instance name of holder and alos make sure it is on the main timeline, type /holder into the target box of the load movie command as a string.

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