Solved

button of image, hit area

Posted on 2007-03-21
3
194 Views
Last Modified: 2007-03-24
I'm bringing in an image into Flash and making it a button, but want the outline of the image to be the hit area.  Unfortunately, when the image is brought in, it comes in with a square border.  How can I make the hit area of just the outline of the image only?
0
Comment
Question by:COwebmaster
  • 2
3 Comments
 
LVL 11

Expert Comment

by:Tom Ray
ID: 18767675
put your image into a 1 frame movie clip.

create a button instance, put the movie clip instance in the 'up' , 'over' , 'down' and 'hit' states. in the 'hit' state select your 'rectangle tool' choose your stroke color and make your fill color none, and then click and drag from corner to corner over your image in the 'hit' state. it should 'snap' to the image edges. there is your outline. delete the image from the 'hit' state leaving only the stroke. use properties to thicken the stroke if needed
0
 

Author Comment

by:COwebmaster
ID: 18767759
I tried but in the hit area because the stroke and fill colors are none, nothing shows up.  Also, the image is in the shape of the state of Nevada so it's an odd shaped outline.
0
 
LVL 11

Accepted Solution

by:
Tom Ray earned 500 total points
ID: 18768465
"I tried but in the hit area because the stroke and fill colors are none, nothing shows up."
*************
sounds like your stroke color is set to nothing (diagonal red line)
make sure your have your stroke color set to a color.
*************
"the image is in the shape of the state of Nevada so it's an odd shaped outline."
*************
in that case just use the pen tool to outline the state.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Where to download Acrobat flash offline installer? 2 260
Open Source MP4 Flash Player 2 199
Adobe Indesign CS6 4 146
flash in chrome 4 123
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question