Rollout Button Problems - Button reacts before Cursor moves

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Rollout Button Problems - Button reacts before Cursor moves
freeky_bonjela
CZ Newbie
freeky_bonjela has been a member for over 19 year's 19 Year Member
uk.gif
Age: 49
Gender: Male
Status: Offline
Joined: Jan 11, 2005
0.00 posts per day
Posts: 6
Points: 60
   
I have a button that when hovered over scrolls out to reveal the page. I then want it so that when someone rolls out from the button, it then scrolls back in to how it started. This seems to work ok, with just one small problem, the page doesn't necessarily always stay scrolled out, even if you don't move the cursor away from the hit area of the button. I have a flash file which contains a simplified version of the button as I would to achieve it working, and then on a separate layer my faulty button.
I will email the aforementioned file to anyone who can please help?

thanks
iAN




button test.fla
 Description:
N/A
 Filesize:  132 KB
 Viewed:  12769 Time(s)






Back to top Reply with quote
#2   re: Rollout Button Problems - Button reacts before Cursor mo
freeky_bonjela
CZ Newbie
freeky_bonjela has been a member for over 19 year's 19 Year Member
uk.gif
Age: 49
Gender: Male
Status: Offline
Joined: Jan 11, 2005
0.00 posts per day
Posts: 6
Points: 60
   
*UPDATE*
I have figured out why the rollout aspect of my button was actioning despite the cursor still being within its hit area. It is because I have some input text within that respective movie clip. So when the cursor hovers over the input text it confuses the button into thinkig the cursor has left the hit are. Anyone have any ideas how I can get around that?



Back to top Reply with quote
#3   re: Rollout Button Problems - Button reacts before Cursor mo
freeky_bonjela
CZ Newbie
freeky_bonjela has been a member for over 19 year's 19 Year Member
uk.gif
Age: 49
Gender: Male
Status: Offline
Joined: Jan 11, 2005
0.00 posts per day
Posts: 6
Points: 60
   
*SECOND UPDATE*
A guy on another forum told me to put the input text and button together in a movieclip, which does stop the hit area problem. But now I have the following issue.

Now I can't get the button to action correctly so that once the cursor rolls out from the hit area it returns to the previous scene or movie it was contained in as just a button previously.
Within this new movieclip that contains my button and input text I have tried giving the button the action
on (rollOut) {
gotoAndPlay("Scene 1", 16);
}

or

on (rollOut) {
prevScene();
}
but these don't do what I had hoped.
How do i get my button to still continue the original movieclip from the new movieclip sits in the original?
I think that makes sense icon_smile.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum