A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Closing movie clips

  1. #1
    Flashkit's offical necromaster EXILED ARCHANGEL's Avatar
    Join Date
    Oct 2000
    Posts
    765

    Closing movie clips

    I have a scene with dragable movie clips in it. Each clip has a button to close it and only it, but I dont know the correct scripting. Any help is appreciated.
    Tutorials, Shaders, School listings and more for XSI users



    -warping young flash minds is my idea of a good time-

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    if the clips were created dynamically you could use,

    on (press) {
    this.removeMovieClip();
    }

    if they were created by hand try,

    on (press) {
    this.swapDepths(1);
    this.removeMovieClip();
    }

  3. #3
    Flashkit's offical necromaster EXILED ARCHANGEL's Avatar
    Join Date
    Oct 2000
    Posts
    765
    neither one of those worked nor did
    on (release) {
    removeMovieClip("symbol 12");
    }


    Mabey you need to see what I mean
    www.xsiworld.com/newbeta.html

    click one of the buttons such as tutorials and see what I mean

    Also, do you have any idea how to nake a slider that changes the opacity?
    Tutorials, Shaders, School listings and more for XSI users



    -warping young flash minds is my idea of a good time-

  4. #4
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    here's an fla file that opens and closes a clip, I hope it helps
    Attached Files Attached Files

  5. #5
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    and a simple slider...
    Attached Files Attached Files

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