Results 1 to 2 of 2

Thread: Loading internal movieclips

  1. #1
    Join Date
    Feb 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Loading internal movieclips

    Does anyone know if it's possible to dynamically load/unload movie clips from the library?
    I'm trying to make a game that looks like Family Feud. I'm presuming I would have a layout screen with X number of answers. I was thinking I would cover the answers with some MC's, and then have them disappear on a keypress. The answers would probably be out of order (non-linear).. so I could load a movie clip to reveal an answer based on keyboard input,... 1, 2, 3, 4, etc...
    When '1' is pressed, load the MC the reveals the answer. But how can I dynamically load these movies?

    Should I be creating dummy MC's like in: http://www.dynamicdrive.com/forums/s...ad.php?t=16714 ?

    -MrG.

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    If you are using Flash 7 or 8 you can use loadMovieClip(); and unloadMovieClip();

    remove() attach() are other options.

    You can even do this all dynamically and based on time not even a keypress

    How crazy do you want to get? (And more importantly, which version of Flash are you using?)
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •