Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Visual Design > Flash and ActionScript

Reply
 
LinkBack Thread Tools
Old November 5th, 2007, 04:01 PM   #1
Reputable Member
 

Join Date: Aug 2007
Location: netherlands
Posts: 116
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 ahwell is on a distinguished road
[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
ahwell is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old November 5th, 2007, 04:31 PM   #2
Reputable Member
 

Join Date: Sep 2007
Location: Tehran - Iran
Age: 30
Posts: 432
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Rep Altering Power: 0 marSoul is on a distinguished road
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

marSoul is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old November 5th, 2007, 04:56 PM   #3
Reputable Member
 

Join Date: Aug 2007
Location: netherlands
Posts: 116
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 ahwell is on a distinguished road
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.
ahwell is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old November 5th, 2007, 05:09 PM   #4
Reputable Member
 

Join Date: Sep 2007
Location: Tehran - Iran
Age: 30
Posts: 432
Blog Entries: 2
Thanks: 7
Thanked 7 Times in 7 Posts
Rep Altering Power: 0 marSoul is on a distinguished road
Re: [SOLVED] animated button problem

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

marSoul is offline  
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

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 4 May 22nd, 2008 06:56 PM
[SOLVED] Movieclip button active state problem !! Help Please !! alladeen Flash and ActionScript 6 October 25th, 2007 10:40 AM
button problem! edd_jedi Flash and ActionScript 11 June 19th, 2007 06:05 PM
Flash Button Problem - please help! miguelvlima Flash and ActionScript 3 March 29th, 2007 09:17 AM
hover button problem slumber JavaScript 2 July 8th, 2006 07:10 AM


Search Engine Optimization by vBSEO 3.2.0 RC8