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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dynamically improve the target area of buttons

Status
Not open for further replies.

irate

Programmer
Jan 29, 2001
92
GB
In the Macromedia White Paper on Flash usability there is the paragraph:

According to Fitt ’s Law,“The time to acquire a target is a function of the distance to and size of the target.” Simply
stated,this means the bigger a button is the easier it is to click;and the easiest item to click on the screen is one
that is closest to the mouse pointer and largest in screen size.

When designing in Macromedia Flash elements like buttons that interact with the user ’s cursor or mouse arrow
apply to Fitt ’s Law.Navigation elements should be the easy to click.One unique way that Macromedia Flash can
improve the “clickability ” of a button is by using ActionScript to dynamically improve the target area of buttons as
the cursor approaches them.

My question is how do I do this?

I just want to know the actionscript i would need to change the size of a movie clip so that as the mouse gets closer to it, it becomes larger and as the mouse moves away it gets smaller.

thanks
 
Dave from Davdesign has this example (with .fla) in the FAQ section: faq250-587

Regards,
new.gif
 
thanks thats exactly what i was after
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top