Close movie on mouse out (without a button layer on top), How can I use actionscript to close a movie on mouse out |
Close movie on mouse out (without a button layer on top), How can I use actionscript to close a movie on mouse out |
moo |
Sep 22 2008, 07:05 AM
Post
#1
|
Member Group: Members Posts: 46 Joined: 12-September 07 Member No.: 3,783 |
I'm useless at Flash!
I have a movie clip which contains several other clips and buttons. I need to be able to 'close' this parent movie on mouse out but I cannot simply cover the whole movie with a transparent button and use its rollOut behaviour because the other buttons are affectively masked by it. I believe i should use actionscript to add a Mouse Out function to the parent movie itself but I don't know how. I'm guessing at: CODE myMovie.addEventListener(MouseEvent.OUT, outHandler); function outHandler(e:Event) { playmycloseMovie } Is anyone able to advise (or ideally post the script) please? TIA. EDIT: Apparently I cant use actionscript 3 for this project This post has been edited by moo: Sep 22 2008, 07:16 AM |
Lo-Fi Version | Time is now: 25th April 2024 - 11:48 PM |