homepage Welcome to WebmasterWorld Guest from 54.237.54.83
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
how to make an entire text button clickable
rimrattler6




msg:3043698
 8:24 am on Aug 12, 2006 (gmt 0)

I've done it before, but i'm having a huge brain fart and cannot figure how it fixed it.

So i'm trying to make a simple horizontal navigation bar with text words i created (e.g. home...about...etc) I convert them to buttons, then double click on it to edit, add the key frame to the "over" state, then make sure that instance of the button in the over state is a movie clip, then double click to add my simple tween. then when i test, it works, HOWEVER, only when i roll over the actual TEXT will it react. as in if i moved my mouse in the middle of the 'o' in "about", there would be no "over" effect. What am i doing wrong?

Thank you in advance!

2nd part(for extra credit..haha): i'm trying to make it so when i roll over it, a "glint effect" will happen. I know how to do it separately, but how do i incorporate in a navigation menu. Would i just add the animation for the glint in the "movie clip" aspect of the button's "OVER" state?

Any help is MUCH appreciated! Thanks!

 

rimrattler6




msg:3043996
 5:36 pm on Aug 12, 2006 (gmt 0)

*bump

Anybody? I'm sure it's a quick fix for the first part. As for the second part, i know it can be done...i know how to make the glint effect with the masking on it's own, but where would i place that effect in respect to the button on the navigation? Thanks!

dareRock




msg:3046469
 3:05 am on Aug 15, 2006 (gmt 0)

sounds to me like you didn't add anything to the 'hit' state in the button.....go into edit mode for the button and click on a frame in the 'hit' section for the button, now draw a box over your text.....go back to the main timeline and test your movie...

the 'hit' area defines the 'rollover' area for a button - since you only had text in there, you must be exactly on a pixel in the text for the button to work

PART 2, yes, make the effect in your over state...btw, thats just 1 of 1 million ways to do it....you could make seperate movies clips and trigger the in the on (rollOver) action for the parent button.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved