Skip to main content
Participant
June 30, 2009
Question

Buttons that don't do what they're programmed!

  • June 30, 2009
  • 1 reply
  • 292 views

Hello All,

I have been working on a Flash projector. At one point, there are two Flash buttons. However, when they are clicked, they don't do what I programmed them to do. (I know because I inserted a trace() statement inside the on (release) function, and the trace text was never outputted.) Instead, the buttons send the timeline to the same frame when I click either of them. The buttons don't do what they should, and do what they shouldn't.

Can anybody help me with this? Here is the code:

on (release) {
gotoAndPlay("inst");
trace("btn inst event: clickrelease");
}

"btn inst event: clickrelease" never appears in the output window. Instead of sending the timeline to "inst," it sends the timeline to frame 10.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
June 30, 2009

do your buttons have an instance name?  if so, check to see if there's an onRelease method defined for them.