Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: define hit area
From: Tom Green
Date: Fri, 14 Jan 2000 21:13:18 GMT



Carla Otto wrote:

> Hello,
>
> I realize this is a simple question...maybe a silly question...but I still
> haven't found a good explanation of all that is involved when defining the
> Hit area of a button. So can I define it by just drawing a transparent
> circle or square? Since that state never shows, does it have to be
> transparent?
>
> Thanks,
> Carla

No such thing as a dumb question. If you have never seen it before, it ain't
dumb.

The hit area defines the "hot spot" of the object. The hot spot is the area
of the object that kicks off an action like the Over state of a button. So
'hit Area" answers the question: "Where does the mouse have to be in the
object before it changes.

There are a couple of ways of doing it.

The first is to draw primitive shape- circle, square- in the hit area and
fill it with a solid colour.

The second is great for irregularly shaped objects. Simply select the object
in the hit frame. Delete the fill. Fill it with a solid colour using the
paintbucket. Delete the stroke and instant hot spot. Flash will then use that
shape's area to determine when ( where is the mouse in the object) the event
occurs.



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: define hit area, Shaun Brazier

Replies
  FLASH: define hit area, Carla Otto

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]