[SOLVED] animated button problem

This is a discussion on "[SOLVED] animated button problem" within the Flash & Multimedia Forum section. This forum, and the thread "[SOLVED] animated button problem are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 5th, 2007, 20:01
Reputable Member
Join Date: Aug 2007
Location: netherlands
Posts: 109
Thanks: 1
Thanked 0 Times in 0 Posts
[SOLVED] animated button problem

Hi, this is what I'm makin:

http://www.gotoandflash.com/smartpet...etplace_3.html


Now sometimes when you roll off a 'house'button the house stays large..this is the script I put in the mc:

stop();
door._visible = false;
this.hitArea = door;

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();

}
}
this.onRollOver = function(){
rewind = false;
play();

}
this.onRollOut = function(){
gotoAndPlay(11)
}
this.onRelease = function(){
gotoAndPlay(_root.gotoAndStop("h3"))}


Does anyone know what I'm doing wrong?

Thanks,
Marieke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 5th, 2007, 20:31
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Re: animated button problem

Try change the onEnterFrame to onMouseMove, maybe this can help...
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 5th, 2007, 20:56
Reputable Member
Join Date: Aug 2007
Location: netherlands
Posts: 109
Thanks: 1
Thanked 0 Times in 0 Posts
Re: animated button problem

That sounds like a smart move since all the mc's are in one frame..but then again if u've never used te onMouseMove script you don't know it exists untill someone teaches you it! Thanks! I think it works ok now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 5th, 2007, 21:09
Reputable Member
Join Date: Sep 2007
Location: Tehran - Iran
Age: 29
Posts: 434
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Re: [SOLVED] animated button problem

Glad it helps
__________________
Designing For Communicating
Website : http://www.datisdesign.com
Weblog : http://blog.datisdesign.com

Last Blog Entry: Throughout IRAN (Dec 10th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
more than one animated button for menu ketanco JavaScript Forum 4 May 22nd, 2008 22:56
[SOLVED] Movieclip button active state problem !! Help Please !! alladeen Flash & Multimedia Forum 6 Oct 25th, 2007 14:40
button problem! edd_jedi Flash & Multimedia Forum 11 Jun 19th, 2007 22:05
Flash Button Problem - please help! miguelvlima Flash & Multimedia Forum 3 Mar 29th, 2007 13:17
hover button problem slumber JavaScript Forum 2 Jul 8th, 2006 11:10


All times are GMT. The time now is 17:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42