A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] Loading movie clips from library

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    5

    [F8] Loading movie clips from library

    I want to know how to load a movie clip from the library to the running file. I know its possible to load externally and i've done that and its not what I want. I wanna be able to push a button and create a movie clip of MY CHOICE in the running file.. Is it possible.. and whats the actionscript?

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    FL, USA
    Posts
    442
    attachMovie("idName" , "instanceName" , level);

  3. #3
    Junior Member
    Join Date
    Sep 2006
    Posts
    5
    Do I make a movieclip instance in the first place... Lets say its named window
    Then would this be the code?

    on (press) {
    attachMovie("window", "menu", 1);
    }

    Menu being the movieclip in the library.

    If that is correct.. It didn't work.
    And if menu and window are in the wrong places.. I tried both ways. And neither worked.

  4. #4
    Junior Member
    Join Date
    Sep 2006
    Posts
    5
    I figured it out. Thanks for attempting to help

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