A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: links and closing movie clips

  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    51

    links and closing movie clips

    ok so i have sorted out the hyperlink stuff
    such as

    on(release){
    _root.mtClip2.loadMovie("index.swf");
    }

    how do i close this so i can then loadMovie("contact.swf") when i click on the contact button?

    cheers

  2. #2
    did0bib chero's Avatar
    Join Date
    Jun 2004
    Location
    in a bar, under the sea
    Posts
    751
    Use the same command to load another movie into the container, since it's auto-unloaded when you load another movie into it.
    You can also use the 'unloadMovie' to empty the container at will.
    Code:
    on(release){
    _root.mtClip2.loadMovie("contact.swf");
    }
    //unloading:
    on(release){
    _root.mtClip2.unloadMovie;
    }

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    51
    cheers didnt know the unload

    thanks

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