How to close move clip?

  • asiaszeni
  • Born
  • Born
  • asiaszeni
  • Posts: 3

Post 3+ Months Ago

I create a move clip inside the flash website. Everything works very well besides close button witch I create in left corner on the move clip.

Please help me.

This code work well. I can move the move clip.

on(press)
{
this.startDrag();
// also tried startDrag(); without the 'this'
}

on(release, releaseOutside)
{
stopDrag();
}


But this code not I can't close move clip:

on(release) {
fscommand ("quit");
}
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • asiaszeni
  • Born
  • Born
  • asiaszeni
  • Posts: 3

Post 3+ Months Ago

O I found by myself.

that is the code:

on (release){
this.unloadMovie();
}
  • jalexduran1
  • Newbie
  • Newbie
  • jalexduran1
  • Posts: 12

Post 3+ Months Ago

very simple Code to close on Flash 8 or Flash cs3 (right click on the button, "action")

on (release) {
unloadMovie(this);
}

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 15 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.