Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Button HIT Area



I created a button from a graphic and placed it on stage.

In the 4 frame attributes of the button - up over down hit - I placed in the hit another image that will show onMouseOver

This image shows, but, the hit area had to be expanded beyond the button itself.

That is, the hit area is above and below the button. It's like the button is on TOP of the actual hit area and mouse over the button, you get nothing.

But, since I expanced the hit area, mouse over above or below the button, the image shows.

Anyone have any suggestions on how to fix this so the button is the hit area and not the area behind it?

Hope I described this well enough.



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 11-04-2005, 04:44 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Rollover Button To Be Triggered By Area Smaller Than Button
I'm pretty new at Flash. I am creating a flash file to insert into a PowerPoint, since PP has no way to really use mouseovers. This is my first project, but I'm going to want to do a lot with this technique in the future.

I have an image of the toolbar of our software and images (transparent pngs) of the tooltips with arrows that will point to the icon.

I can make a roll-over button that only appears when the user rolls over the icon, but the tooltip text is wider than the icon that triggers it, so the buttons I'm creating overlap.

So I want the area that triggers the roll-over effect to be smaller than the button. Or is there a better way to accomplish this task?

Thanks for any advice!

Rollover Button To Be Triggered By Area Smaller Than Button
Newbie. Trying to simulate tool tips on roll-over toolbar

I'm pretty new at Flash. I am creating a flash file to insert into a PowerPoint, since PP has no way to really use mouseovers. This is my first project, but I'm going to want to do a lot with this technique in the future.

I have an image of the toolbar of our software and images (transparent pngs) of the tooltips with arrows that will point to the icon.

I can make a roll-over button that only appears when the user rolls over the icon, but the tooltip text is wider than the icon that triggers it, so the buttons I'm creating overlap.

So I want the area that triggers the roll-over effect to be smaller than the button. Or is there a better way to accomplish this task?

Thanks for any advice!
 

Hit Area On Button. Help
I have a graphic that is a transparent gif. I have created it into a button. Problem is that when I edit the button, the hit area becomes the whole graphic white space and all and not just the graphic. I have tried defining the hit area by drawing a rectangle for the required area, but it disappears and the whole thing is selected. The hit area then overlaps into other buttons.

I want to keep the transparent gif becuase it is a leaf and there will be several of them and I want to see the background. I do not want to do trace bitmap option becuase I do not like the effect it makes.

Any suggestions? Will be mighty appreciated.

Tazmania

Button Over Area
I have made a navigation menu where all my buttons have the same rollover area. Each button has a different text when rolled over with the mouse. When I move the curser over the "rollover" shared viewing area of the buttons (not over any of the buttons themselves) I see the text I intended the viewer only to see when actually rolling over the button. How can I stop this from happening?

Button Area... ?
Hi

http://shanks.*****nut.net <-- observe the spinning cubes

These were made in 3dsm, and then rendered as a flash file
I want each cube to act as a button... but, this poses a problem :/
They are not individual objects in the .fla file, as they had to be grouped for the rotation animation to work...

is there a way i could either select them by colors, and turn them into buttons, or to create a map over the top which rotates with them, and acts like a button.. --> an invisible layer which is actually the button which sits ontop of the cubes...

any advice / help, i greatly appreciate.


Shanks

Button Area
Hi all, again,

I have made some buttons with movie clips on the down state; however this makes the buttons initial selectable area huge and far from slick. Im sure there must be an easy way to combat this, but unfortunatley I dont know what it is.

So any Ideas?

Jasinio

ps, I do know some stuff about this program honest (Catbert)

Button Hit Area
Hi... I'm brand new to Flash and using MX. When making simple buttons like a square box with some text in it. I have troubles with the hit area. It seems that sometimes the text area will be above the hit area. So when I assign the hit area in the button properties. The mouse will only react to the button where the hit area is larger than the text. What am I doing wrong?

Thanks

Button Hit Area
Hello,
I have a problem with the button hit area. The problem is when I move my mouse over the picture, the button starts blinking. I really don't know why this is happening, because I selected a large hit area. I will include the .fla. Can somebody see what the problem is?

Thanks!

MC Button Hit Area HELP
Hi, im using a movie clip as a button, how do iset the hit area?



this.onRelease = function (){
bla bla
}




thanks

Button Hit Area
Probably a dumb question but here it goes:

I have created some text (homepage) and made it a button symbol. In button edit mode i have changed the color of the text for OVER and DOWN and then drawn a large black rectangle in the hit area. The odd thing is when I'm testing the movie, it works correctly when the mouse pointer is over the rectangle area i drew EXCEPT when the pointer is directly over the text, then i lose the over formatting. I have tried to leave the text in the hit area and also removed it, same symptons occur both ways.

Any help appreciated (I'm using Flash 6 mx)

Rob

Button Hit Area - HELP
Hi,

I'm working on a very simple flash animation with two buttons. However, when I define the Hit area for each button, when I test the movie, the Hit areas are either off to the side of where I need them, or don't seem to be there at all.

I've done several Flash animations using buttons before this, but this is the first time I've had this sort of problem in quite a while.

Does anyone know what could be going on here?

Thanks!

Button Hit Area...
Hey all!
I know you can increase a buttons (text button that is..) hit area by adding a white vector box behind it. but, i am going to impliment a menu thingy that shows which menu item was selected, smiliar to the one that i quickly made.
If you looked at the example when i add a white hit area on the button it prevents the rectangle object from being seen. is there any other way to increase a buttons hit area? Actionscript maybe?
thanks!
P.S.
The menu items that have a mask are 1 and 3.
also, the rectangle thing may stop short of its destination some times.

Hit Area Of Button
how can i enlarge the hit area of a button when i'm over it?

i tried creating a movieclip ("mc") containing two frames;
one frame ("normal") with a button including a small hit area, and one with a button containing a larger hit area (framename="over").
when i roll over the movie clip it sucessfully changes to frame "over" with the large hit area button (from root i tell "mc" to cange to frame "over"), but in fact only up,over and down state frames are taken from the new button. the hit area is still the small one from the first frame.

basically the thing i want to achieve is, that one rolls over the button, but will have to move his mouse farer away from the overstate graphic of the button, to release it. so optically the same button, but with a larger hitarea than the one you entered when rolling over the button in the first place, so one cant accidentally get off of it too early.

thanks for your ideas,
dual

Button Hit Area...
Hey all!
I know you can increase a buttons (text button that is..) hit area by adding a white vector box behind it. but, i am going to impliment a menu thingy that shows which menu item was selected, smiliar to the one that i quickly made.
If you looked at the example when i add a white hit area on the button it prevents the rectangle object from being seen. is there any other way to increase a buttons hit area? Actionscript maybe?
thanks!
P.S.
The menu items that have a mask are 1 and 3.
also, the rectangle thing may stop short of its destination some times.

Hit Area Of Button
how can i enlarge the hit area of a button when i'm over it?

i tried creating a movieclip ("mc") containing two frames;
one frame ("normal") with a button including a small hit area, and one with a button containing a larger hit area (framename="over").
when i roll over the movie clip it sucessfully changes to frame "over" with the large hit area button (from root i tell "mc" to cange to frame "over"), but in fact only up,over and down state frames are taken from the new button. the hit area is still the small one from the first frame.

basically the thing i want to achieve is, that one rolls over the button, but will have to move his mouse farer away from the overstate graphic of the button, to release it. so optically the same button, but with a larger hitarea than the one you entered when rolling over the button in the first place, so one cant accidentally get off of it too early.

thanks for your ideas,
dual

[MX,05] Tell A Button To Go To A Certain Area On A Pg
Is there a way I can tell a button to go to a certain area on a web page? I am trying to mimic a web page that has a list of lets say questions and each question has a long answer about a paragraph. I want a list of the questions at the top to act like individual buttons that on release will direct me to its question and answer that are below instead of scrolling all the way down and trying to find the question. I want to be able to do this inside a dynamic text field is this possible?

Thanks in advance


Button Hit Area
Hello,

I have a flash movie that is 750x744. So basically the page has to scroll. Well when it scrolls my button hit area or hotspot seems to move in Firefox and older IE browsers. Is there any way to fix the movement problem?

Any help would be greatly appreciated
Thank you in advance

Button Pick Area
I'm attempting to create a button that will display text when hovered over. The text will be away from the button in an entirely different area of the stage. I can get it to do this easily enough, but it makes the button "pick area" as big as the button and the text box combined. I want the button to only be "pickable" over the button itself.

What I'm doing now is creating a graphic, converting it to a button, then editing the button, inserting the text, and then converting the text to a movie (for fade in). The button works exactly the way I want it to, but it's pickable everywhere within the limits of the button AND the text movie.

Suggestions?

HELP Trying To Overlap The HIT Area Of A Button
Hi, I'm just trying to overlap the "Hit" area of a button with another graphic, but I just can't make it. No-matter if I put a graphic over the button or even in higher layer...the "hit" area is always there, even when the button is not visible any longer.
Could anybody give me a trick or roundabout to accomplish what I'm trying to do? I guess this is extremely easy but...no way..
Thank you very much in advance,

Manare

Rollover Area Without Button
Im trying to create an area where if you roll over it, it will create a fade in and when you roll out, it fades out. Only I dont want to use a button because it gives you the little pointer hand. In this area that fades in, there are already buttons that need to be usable.
How can I designate an area and have it fade in without having a button to do it?

[MX] Do I Need New Layer For Hit Area On Button
i'm not exactly certain where i learned how to make buttons but it showed me to make the hit area on a seperate layer.........i'm working on a project with a lot of buttons and the extra time really adds up.....just wondering if its okay to keep my hit area on the same layer as up, over, down???

[F8] Hit Area On Button Not Working...
hi all

i'm doing a map. on the map are little circle buttons that can be rolled over. once a user rolls over, i want them to see a little box pop up that has text information.

so i have set it up that you see the circle button on the Up state. on the Over state i have added the pop-up box. on the Hit state i have only left the circle and removed the text box.

but when i test this you have to rollover the text box to see it where i was expecting to be able to rollover the circle button to see the text box

what am i doing wrong???

thanks!

[MX,04] Is There A Way I Can Tell A Button To Go To A Certain Area On A Web Page?
Is there a way I can tell a button to go to a certain area on a web page? I am trying to mimic a web page that has a list of lets say questions and each question has a long answer about a paragraph. I want a list of the questions at the top to act like individual buttons that on release will direct me to its question and answer that are below instead of scrolling all the way down and trying to find the question. I want to be able to do this inside a dynamic text field is this possible?

Thanks in advance

Hit Area Button Big Problem
hi everyone,
i am building a flash 8 very simple menu... put some bitmap in the library and converted 'em to graphic symbols. then i converted each of those into button symbol and edited it. i have the classic four states timeline: i odnt need any rollever or rollout effect so i just kframed every state with the same thing in it. when i reach the hit area, i am ready to draw a little rectangle to tell flash which is the clickable area. drawn the rect, this remains behind the graphic and there is no way to bring it forward or make it work. i have already tried to use "arrange-->bring forwd or back" but same bad results....
the hit area remains the whole button area and that's no good..
please helpppppppppp
thanks guys
adro

Disenable Button Out Area
Hi, how to disenable "magnify" button on rollout of this area button???? The "stop drag" works but I don't understand how to disenable the click out area...help me please

on (rollOver) {
Mouse.hide();
startDrag("magnify", true);
}
on (rollOut) {
Mouse.show();
startDrag("magnify", false);
//magnify.hide(); >>don't works
//enableButton(false); >>don't works
//focusEnabled(false); >>don't works


}

on (release) {
with (_root.magnify) {
gotoAndPlay("minus");
//magnify.hide(); >>don't works
//magnify.enableButton(false); >>don't works
//magnify.focusEnabled(false); >>don't works
}
}

No Hit Area On Button Because Of Textfield...
Hi folks,
i having trouble with the active area on my button so i cant launch it in the middle because there is a textfield in it.
Here are the steps how i did it:
1. draw the square
2. put a textfield on it
3. mark all and convert it to a button

thats it. The textfield is integrated in the button but seems to be still "active"

I tried also to convert the text to a grafic before but it doesnt work neither.

Can anybody help me ???

Thanks in advance...

__
Jan

Redefining Button Area
I have a button that plays a movie clip on loading. The clip just moves an object across the screen. After it's done, the click area for the button is still defined by the beginning of the clip, which is no where near the end. So the button's clip area has nothing to it to show its area. How would I redefine the button's click area?

Button's Hit Area Properties
Hi everyone!

I am creating some buttons (in movie clip) for drag and drop.
I have added the hit area in each of the buttons but I am not able to drop some of the buttons onto the stage after dragging them, they are sticked to the cursor. While some of the buttons i am able to drag and just drop them onto the stage.

Does anyone knows what is the problem?
Or is there any way to solve this problem using the actionscript2?
Sorry for the trouble and thanks in advance.

P.S: Sorry that i have posted this topic under general forum as well because I do not know if I can solve this with actionscripts.

Problems With The Hit Area Of My Button
Hi, I have a problem with a button, it is a rollover button, but when i put the mouse over another part of the screen, it engages the button, probably because the button has a big hit area, how do i sort this problem out?I am a beginner at flash so i don't know much!Can anyone help?

Problem With The Button Hit Area . . .
Ok, i don't know why i'm having problems with my button. It seems to be a button hit area problem. The button is in a movieclip which is then placed on the main stage. The button DOES have square over it for the hit area. yet when you go to test the fla file the buttons hit area is just right below the test(which is suppose to be the button)

i'm not sure why it's doing this . . . (i hope my explanation was clear . . . i sometimes tend to confuse people when i'm trying to explain things . . .

i'm gonna attach the fla file with the trouble some button

Button Animation Area
I wish to create a button, that when the mouse is put over it, the text changes to a color, then when the mouse goes off the button, it reverts back.  The best thing i managed to do was to get it all working, except you HAD to put the mouse on the text for the text to change color, and not the rest of the area of the button.  PLZ HELP
This may be simple and ezy to do, but im new to this stuff.  I am using Macromedia Flash 5.

Button Hit Area Question
in MX, i made a button by turning dynamic text into button, then added keyframes in the other 2 states (over and down) in order to keep the same text box. Then in my hit area, I created blank keyframe and then I drew a square with a black fill and no line. When I test this, there is no hit area, I cannot get it to turn into a hand in order to click on it. Did I do something wrong? Please help

Button Hit Area Problem
hi,

I'm using Flash Pro CS3, but also have CS4 and have the same problem...

When I use Webdings (key number 9) to create a rewind icon, then convert it to a button, I'm getting a distorted over & hit area that is to the far right of the icon.

I have gone into edit mode of the button and defined a "hit" state, but it makes no difference; the actual hit (and over) area of the button still stretches way out to the right (about half as wide as the symbol itelf).

The left, up and below areas are quite tight around the icon, it's just the right side that's the problem.

When I test the flash movie if I right-click on "show redraw regions" I can see the button's actual boundary, which is indeed "distorted" to the right.

Any ideas on how I can fix this?

Thanks for any help.

Tony

Hit Area For A Drop Down Menu Button
Hey folks

I have a button called "main" that when is pressed causes a menu consisting of three buttons ie "button1" , "button2" "button3"
to drop down (using masking)
and when the mouse rolls out of "main" ,
the menu goes back up

The problem is the when I press "main" and the menu appears , it goes back up as soon as i try to click or even move the cursor to any of the three buttons
(i.e button1 or button2 or button3 ) due to the fact that the mouse rolls out of "main"

I even inserted a hit area in the button "main"
that covers the area where the menu would be when dropped down but the problems persists even then

What should I do ?
Anakin

Change Hit Area Of Button With Actionscript
I want to change the hit area in a button clip with actionScript.

Normally I would have a movieClip sittin gin the hit frame with lots of different shapes in it - but variables don't seem to be able to be passed thru buttons..

Can anyone help?
Am I being clear enough?

Movie --> Button Hit Area Not Working
I've followed the instructions provided in the tutorial "Buttons that animate forward and backwards" by Jim Tudesco, but whenever I rollover any part of the movie (instead of just the hit area) the movie plays. This is creating some major problems for me. Does anybody know what I could be doing wrong?

Here's the link to the tutorial:
http://www.flashkit.com/tutorials/Ac...-804/index.php

Draggable Button W/ Taget Area
i know there is a tutorial for this but i dont understand it. the only flash i have ever used is MX and the screen shots are for an other verion. can anyone tell me how to do this in mx?
xxxjosh

BUTTON HIT AREA ? Larger When In Rollover
hello does anyone know how to make a buttons hit area larger when you
go into the over state?

am looking to acheive what is done on this site on the buttons in the top right (they called projects teams and contacts)


Am not actually sure if that is what is happening, any comments or suggestions would be great

thanks in advance

Adam

{F8} Button Active Area Control
I have button thats a movie, on rollover the button expands with some text below it, the problem is the active area of the button also enlarges , I want the active area to stay the same.

any ideas?
thanks
Ant

Button Hit Area And Basic Actionscript3 Help Please
Hi. I have imported some images in PNG format (so they are transparent) and I have turned them into buttons. Only problem is the Hit area seems to include the transparent part at the moment. Im sure there must be an easy way to get around this but I just cant seem to work it out. Anyone got any ideas?

The second question I have is about ActionScript. I need to make an movieclip (jpeg) start spinning slowly and accellerate untill its going very fast. Can someone help me out with the actionscript here? Also (bit of a n00b) where does the ActionScript go? on the movieclip layer1? or does it not matter.

Any help would be great guys.

cheers.
B

MovieClip Button Hit Area Question
Hey I have an easy question I have some movieclips that I am using as buttons after I defined the down,over and out states of my movieclips. But when I rollover the movieclip which is text it blinks of and on. So how do I define the hit area of the movieclip? thanks

Radio Button Hit Area.....changeable?
Is the radio button hit area able to be extended so its bigger. I did a search but found post from 2003 with no solution. Have there been any advances in the last 5 years?

[MX04] Text Gets In The Way Of 'hit' Area On A Button
Weird problem: Anytime there's text on a button, it interferes with the 'hit' area of the button. If the hit area is larger than the text, then the only spots where mouseover events can happen are just around the text, but not on it. I never had this problem before back with whatever version of flash I used 4 years ago, what am I doing wrong?

Making A MovieClip Button Hit Area
Hi

I know this has probably been asked before. But I can't find the answer by searching the forums.

How do I have a certain area of a movieclip, which I'm using as a button, NOT trigger the hit state.

Oh yeah.... and how does one get images in the library to be smoothed without right clicking and ticking "allow smoothing" FOR EVERY SINGLE IMAGE???

Action On Click Outside Button Hit Area.
I want to make a button which will lead the user onto another page when clicked on - no problem... but then loads a movieclip with help details if they click completely outside the hit area.

Is this possible?

The on(releaseOutside) is not helping as that supposes that they have hit within the hit area and then released outside it - whereas I am trying to react if they have clicked anywhere on the page bar where they should!

I am wondering if this might be accomplished by replacing the button with a movieclip. I have found some examples using hitTest, but this only seems to test if two movieclips have intersected, whereas I am trying to test the position of the mouseclick against the target movieclip?

Any help please would be very gratefully received - I am fairly new at this and have searched the tutorials in vain.

Button Clickable Area Problem
On some of my buttons the clickable areas are only on the bottom half of the graphical button. What is causing this? Pulling my hair out on resolving just a few more issues than my project will be complete!! http://www.avistarmedia.com/mcclure.html

Button Clickable Area Problem
On some of my buttons the clickable areas are only on the bottom half of the graphical button. What is causing this? The HIT frame of the button is fine. For an example, go to my main menu and click on "Rain Mirror." Mouse over the button picture of the man at the top left. You'll see the cursor change to a cursor that appears when it is in a text field on the top half of this graphical button. http://www.avistarmedia.com/mcclure.html This is pattern that repeats on several other frames where graphical buttons are featured.

Read More Button In HTML AREA
So actually i am the java / php programmer but i got a question about as2.
We are loading XML in, in the XML elements is HTML.
We display the HTML in flash, but how would you implement a read more button?
the html looks like this
<rows>
<row>
<news><b>bla</b> bla</news>
<more_news>bla bla more news</more_news>
</row>
</rows>
I can iterate the XML and get to the news nodes, but how would you implement a read more button to show the more_news text?

Nested Mc On Button Screws With Hit Area...Help
hello all! i feel like this might be a dumb question but I can't seem to figure it out.

What I need is a button that has text on it, where the text moves up with a tween when you roll over the button and moves back down when you roll out, and for the btn to take the user to another page with an onRelease function.

As of now I have a sqaure shaped button with a movie clip on top of it that holds the animation of the text. When published, the mc's animation plays (the text moves up and down on rollover/rollout) but doesnt allow the code on the btn to work, (which would take the user to the desired page), because the mc blocks the hit area of the button.

To test it, i took the movie clip off of the btn and the onRelease function worked correctly. I need to get them to work together, or maybe is there another better way to accomplish this???

I've tried a couple different ways and can't seem to find the right approach. Any suggestions would be greatly appreciated!!!

Copyright © 2005-08 www.BigResource.com, All rights reserved