Skip to main content
Known Participant
January 27, 2013
Answered

Yet another thing in Flash I can't get right -_-

  • January 27, 2013
  • 1 reply
  • 5406 views

I made a button called 'Hardcore' with an instance name of 'Hardcore'.

It is a red-button with white text that says 'Hardcore'. On 'Over' I made the text blue.

On 'Down' I made the text green. And on Hit I made the text white, and the button blue instead of red.

However when I test-it (CTRL+ENTER) the Hit part never works/runs. When I let go of my mouse-click, it instead goes to

the part under 'Over' (Blue text Red button). Anything I'm doing wrong? o.o

This topic has been closed for replies.
Correct answer kglad

the hit frame of a button is never displayed.  it determines the region where the mouse triggers the over and down frames.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
January 28, 2013

the hit frame of a button is never displayed.  it determines the region where the mouse triggers the over and down frames.

Known Participant
January 28, 2013

That sucks. Meh. Thanks :I

kglad
Community Expert
Community Expert
January 28, 2013

Thank you so much!

But how can I make the MovieClip 'DubstepInfo' invisible from the start

and clicking the Button 'Dubstep' (Symbol and Instance name being 'Dubstep') makes the movieclip

with all the buttons and text appear? I tried using the invisible code but it wouldn't really work out.

Also, the loop-code worked. Thanks!


no, 99 is not the max. 

there is a max but i don't know what it is.  you could experiment if you have a short sound and enough time.

DubstepInfo._visible=false;

Dubstep.onRelease=function(){

DupstepInfo._visible=true;  // <- i'm not sure this is the movieclip you want to make visible when Dubstep is clicked.

}