Button actions

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Button actions
bgflorida
CZ Newbie
bgflorida has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 30, 2004
0.00 posts per day
Posts: 7
Points: 394
   
Hello, how do you make a button stay down when you click on it? Everytime I click on a button it doesn't stay down and returns to it's original up state. Also, when I use the over feature, people can move their cursor over different areas instead of the button and see what action it performs. I'm really looking to limit the area only to the button so when you move the cursor everywhere besides the button nothing will appear. Thank you for your help.



Back to top Reply with quote
#2   
redhot_2oo3
PayPal Donation
CZ Moderator
redhot_2oo3 has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Codezwiz Elf
Website:
Status: Offline
Joined: Aug 26, 2003
0.08 posts per day
Posts: 633
Points: 25,047
   
Do you mean the action of the button or the visual effect? If it's the visual effect then you'll probably have to create a 'down state' graphic to show when the button is pressed.
As far as I know the button 'down state' is a momentaty action rather than a latching action.
As for the area of the button, I usualy make a rectangle or circle to actually perform the button functions, then yu can size it how you need it.




_________________
Back to top Reply with quote
#3   re: Button actions
bgflorida
CZ Newbie
bgflorida has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Aug 30, 2004
0.00 posts per day
Posts: 7
Points: 394
   
Hello, I have an over state, down state, and a hit state that are the same. To see what I am actually working on, go to [ Register or login to view links on this board.] . If you go over the ocean part, you'll notice that the action shows up whereever you move your cursor. I just want it to be where you can only drag your cursor over the red dots and the van to make the area active and that's it. I hope this clarifies what I am talking about. I appreciate your support.



Back to top Reply with quote
#4   
redhot_2oo3
PayPal Donation
CZ Moderator
redhot_2oo3 has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Codezwiz Elf
Website:
Status: Offline
Joined: Aug 26, 2003
0.08 posts per day
Posts: 633
Points: 25,047
   
It seems like you have button actions on the text and the lines as well as the van and the dots, that's why you're getting the problem. You only need the button actions applied to the red dots and the van. The text and lines need no actions at all.




_________________
Back to top Reply with quote
#5   re: Button actions
GoddsEgo
PayPal Donation
CZ Moderator
GoddsEgo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 26, 2003
0.16 posts per day
Posts: 1211
Points: 69,166
 Yahoo Messenger  
I thru together a crude flash of what I thought you were attempting to do.



Basicly its a 5 frame movie frame 1 is the 4 buttons is there ready states then 2, 3, 4 and 5 are the down states of each button.

When movie loads, you mouse over buttons till you find the one you want, when you klik it the move jumps to the frame that has the image of the button in its down state. The other buttons in that frame have the A/S
on (rollOver) {
   gotoAndPlay(1);
}


so that the movie jumps back to frame 1 on further interaction with movie.

Here is the fla file so you can see basicly how to do it.
[ Register or login to view links on this board. ]

BTW I made this with flashMX ver6


Back to top Reply with quote
#6   re: Button actions
Tuffy
CZ Addict
 Codezwiz Site Donator
Tuffy has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Wedding Photographer
Age: 58
Gender: Female
Fav. Sports Team: NY Mets
Website:
Status: Offline
Joined: Nov 20, 2003
0.10 posts per day
Posts: 724
Points: 127,871
AIM Address Yahoo Messenger  
icon_biggrin.gif Very, very nice.....I really like button #3 - that is my fav number!! lolol laughing7.gif

And button #4 - Nice Touch! new_rofl.gif



Back to top Reply with quote
#7   
GoddsEgo
PayPal Donation
CZ Moderator
GoddsEgo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 26, 2003
0.16 posts per day
Posts: 1211
Points: 69,166
 Yahoo Messenger  
like that do ya LOL



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