943,975 Members | Top Members by Rank

Ad:
Jun 11th, 2008
0

movie clip in flash

Expand Post »
please send me action script code below task
how to stop movieclip animation when mouseover
i created one animation using motion tweening but i want stop on mouse over this motion tweening

please help me
thanx
Similar Threads
Reputation Points: 12
Solved Threads: 34
Posting Whiz
sreein1986 is offline Offline
306 posts
since May 2008
Jun 11th, 2008
1

Re: movie clip in flash

Create a layer over the tween if both exist in same layer. Otherwise if would be simple. Posy if I not very clear.

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. on (rollOver) {
  2. _movieClipName.stop();
  3. }
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Jun 12th, 2008
1

Re: movie clip in flash

I ususally try to put all my actionscript on its own layer. If this was the case, I would place the following code on the main timeline:

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. movieclipname.onRollOver = function(){
  2. this.stop();
  3. }
Reputation Points: 11
Solved Threads: 2
Light Poster
CoffeeChef is offline Offline
25 posts
since Jul 2007
Jun 12th, 2008
0

Re: movie clip in flash

Then this would work:

Graphics and Multimedia Syntax (Toggle Plain Text)
  1. movieclipname.onRollOver = function(){
  2. stop();
  3. }

I removed this because if you use that it will stop the clip playing inside that movie clip will stop, not the current layer. Otherwise if you have put actionscript a level above then put this . LOL its much hard to explain as compared to what it really is.
Last edited by vishesh; Jun 12th, 2008 at 7:34 am.
Reputation Points: 85
Solved Threads: 42
Nearly a Posting Virtuoso
vishesh is offline Offline
1,362 posts
since Oct 2006
Jun 13th, 2008
0

Re: movie clip in flash

you explained it well! I thought that 'this' would just refer to the movieclip instance calling the functon since it is inside the function. I guess that might be redundant anyway.
Reputation Points: 11
Solved Threads: 2
Light Poster
CoffeeChef is offline Offline
25 posts
since Jul 2007
Jun 13th, 2008
0

Re: movie clip in flash

than q very much for CoffeeChef and Vishesh this code it's working fine

once again thnx very much
Reputation Points: 12
Solved Threads: 34
Posting Whiz
sreein1986 is offline Offline
306 posts
since May 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Graphics and Multimedia Forum Timeline: flashmovie loader
Next Thread in Graphics and Multimedia Forum Timeline: Help me





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC