The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Close movie on mouse out (without a button layer on top), How can I use actionscript to close a movie on mouse out
moo
post 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 dry.gif

This post has been edited by moo: Sep 22 2008, 07:16 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 25th April 2024 - 11:48 PM