This content has been marked as final. Show 6 replies
apply a 'fill' to the box. you only have a 'line' around it which is acting as the hitArea :)
it has a fill. for some reason the hit area is only applying to the border of the box. If I delete the border, it won't highlight anything. :(
hmm... interesting, try removing the box, remove the 'hit' frame, add a new 'blank' keyframe in the hit state, and draw a new box with only a fill, no line.
another 'guess' here, could there be 'two' objects in the hitFrame?
thanks for the suggestion but that didn't work either. I have other buttons that work fine, this one has me totally confused. It will only highlight if there is a border around the box and it will only highlight when the mouse passes over the border. Also I can't draw a box w/o it wanting to put a border around it first, I always have to delete the borders after the box is drawn.
Just to chime in, I'm having the exact same problem. I've got a rectangular button with text in the middle and even though I draw a filled rectangle (with No border) over the whole area for my hit zone, the hit zone always misses the text when I preview.
I'm on CS3 on an iMac, so I'm wondering if this is a bug.
Thanks, Frank B.
I've learned the hard way here - I've been away from Flash for a while and am just getting back in a bit.
Text must be set to 'Static Text' in the property settings for it to work correctly in the button states.