Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another button Question.... 1

Status
Not open for further replies.

natedeia

Technical User
Joined
May 8, 2001
Messages
365
Location
US
I have a rectangle button with radius of 10 degrees (just for a visual for you) and on the roll over on the right i want to put more of these rectangles stacked on top of eachother.
The problem i can not figure out is how to keep 'roll over' portion up while these other buttons appear so one of them can be selected.
I understand it will take some scripting, if you know of a good one please let me know or if you know wheter the first one should not actuall be a button object but something else.

THHHHAAAANNNNNKKKKK YYYYOOOOOUUUUUU FOR ANY HELP IN MY PROB.
 
A link to what you have?
That will be even more visual!

This is in fact a navigation menu right?
The serie of other buttons should be in a mc...
A mc controlled by the first button, but from the stage, not from layering it on the over state of the button while in edit mode of that button.
If your first object is not a button, you won't be able able to use the on(whatever) action.
The only other way, I think you could control it with some kind of hit test.

Will think more about this... But a link would be nice!
mywink.gif
ldnewbie
 
Here is the link...


As you will notice it is just the buttons.
Here is the code i put on the button....

On (Release)
Begin Tell Target ("../_root.ghardrock.mchardrock")
Go to and Stop()
End Tell Target
End Onstop ();
stop ();


Hope that is better. Thanks!
 
Natedeia,

1- Your link ain't working.

2- As an option, if you can't get it working, you can allways e-mail me your .fla at oldnewbie@hotmail.com

3- Because of your script, it seems you're working with Flash 4. Is that right?

4- What are ghardrock & mchardrock?
mywink.gif
ldnewbie
 
ghardrock is a graphic (on the rollover part of the button because i was trying to figure out how the heck i can route it correctly, did nt work properly though) and mchardrock is the mc.
No flash 5, but the link works when i click on it. weird.

i will send it tomorrow. thanks for assistance!
 
I am trying to get the effect of FLASHGORDON's (he created a thread asking an opinion about his site) buttons. Just to stay up and go down when cursor is not over them. Thanks to anyone who can help.
HERE IS THE FLA.


Can you take a look and tell me if my code just needs to be replaced or have the missing line for me. Thanks!!!!
 
Nat,
Read your post in that other thread... And got your e-mail!

As I said, if you put a stop action on the first frame of your mcs, there's no need to set the visibility "on" or "off". Since you're fading in those mcs when they play, they're already sort of "invisible"!
If you didn't fade them in, and just poped them in, then I agree, they would be visible on load...
So that is why in most cases, when working with mcs, it's better to start them off with an empty blank keyframe with a stop action on it!

Regards,
mywink.gif
ldnewbie
 
OHHH, gotcha! I see what you are saying and it makes much sence. Didnt look at it at that angle. You are the man! Thanks a bunch!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top