Skip to main content
Participant
June 10, 2008
Question

Any Flash gurus out there please help!!

  • June 10, 2008
  • 2 replies
  • 230 views
Here is a short description of the file we are tring to make and the problem we're having.

There is a movie clip instance on the main timeline that has a keylistener capturing keystrokes. For each keystroke identified, the x and y scale are set to zoom in or out and the movie clip is set to be 'dragable.' Inside the movie clip are other movie clips with 'up' and 'over' button strokes.

Problem: The button states work when the movie is first played, but once a key is pressed, the button states stop working.

Will post code if needed. Any help is very much appreciated!!

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
June 11, 2008
you're welcome.
kglad
Community Expert
Community Expert
June 10, 2008
when a keystroke is detected are you defining an onPress (like startDrag etc) and onRelease (like stopDrag) for your movieclip button? if so, you're overwritting any other onPress and onRelease handlers you had defined.

to remedy, include your button state changes in the onPress and onRelease handers defined in your key listener.
Participant
June 10, 2008
We fixed it- thanks!!