Skip to main content
Inspiring
October 6, 2006
Answered

timeline referencing

  • October 6, 2006
  • 2 replies
  • 280 views
What I am trying to do is to get the on release function for a button in a movie clip to work within the main timeline. I have searched the help files and I am no good at using the proper wording to find out what I want. I tried using a movie clip event but it says that I can't do that. I tried using a button event but I get about the same error. Am I supposed to use brackets or what?
This topic has been closed for replies.
Correct answer rebarr
I handled the situation by putting an onClipEvent(mouseDown) on the movie clip.

2 replies

Inspiring
October 6, 2006
I'm confused.

Your button has an on(rollover) function, but no on(release)? You can put the button handlers on the main timeline, or on the buttons themselves. Where is your actionscript located?

Helpy.
October 6, 2006
Are you trying to do this? Just put this on the main timeline and reference your targetInstanceName

Make sure to have the correct path to your instance on way to do it is to use the 'arrow' button in the script panel to find your targetInstanceName.

Hope this helps!
rebarrAuthorCorrect answer
Inspiring
October 7, 2006
I handled the situation by putting an onClipEvent(mouseDown) on the movie clip.
rebarrAuthor
Inspiring
October 6, 2006
Another point is that the button within the movie clip does not have an on release function tied to it, just the rollour and rollover functions.