mouse hit area
- Started
- Last post
- 8 Responses
- pushme
I have a rollover effect for a movieclip. The movieclip flickers when the mouse is at its edge. Any ideas on how to fix this? I've tried increasing the size of the hit area but it can only get so big b/c i have other buttons around it. Is it possible to increase the area the mouse defines as a hit area?
- bigredmailbox0
Make it into a button go to the hit area and create a keyframe. Then get the rectangle tool and draw a rectangle bigger that your button. That should fix it.
- pushme0
That would work but i forgot to mention one thing...the rollover action calls another animation which also flickers. So I don't think that method would solve my problem.
- bigredmailbox0
try making your two animation the same size!
- pushme0
Task doesn'tallow me to do that. I basically have an ellipes with 9 circles on it. The ellipse moves in relation to which is rolled over.
- version30
link?
- st33d0
I had the same trouble with the buttons on my first portfolio site.
http://robotacid.com/portfolio/
Don't, don't, don't use an animation as a button. Draw an invisible layer above the movie that is static and use that. Or you can use a bit of actionscript to assign the hit area to another MC:
- pushme0
i'll give this a shot...thanks!
- alloyd0
mcName.hitArea = someOtherArea;
Look up 'hitArea' in the Flash help section for a thorugh understanding on how this works. You can define the hit area using AS instead of actual objects too.