Skip to main content
Participant
December 18, 2007
Question

Trying to get name of object being rolled over

  • December 18, 2007
  • 1 reply
  • 235 views
I’m creating a project in which I need to use the name of a button (could also use a movieclip) that is rolled over in my “class” file. I created the buttons on screen by hand. I’m going to use the button name as a parameter to load specific sounds and go to specific frames.

Here’s an idea of what I’m trying to do.(startListener is called from a frame script. The Trace statement returns and error.)

Anyone have any idea how I can get access to the name of the object I am rolling over?

Thanks.
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 18, 2007
make sure you're applying the startListener() method to a Reports instance.