Skip to main content
Participant
August 21, 2008
Question

Animated link

  • August 21, 2008
  • 2 replies
  • 298 views
I created an animated button for my site's menu, but I can't seem to get it to work. Does the link need to be scripted to the downstate of any of the buttons?
This topic has been closed for replies.

2 replies

Participating Frequently
August 23, 2008
Yes this is possible, just put a key frame in the animation time line that activates the link...
Participating Frequently
August 21, 2008
You need to attach the actionscript to the button not on the inside of the button timeline.

Select the button on the stage, hit F9 to open the actionscript pannel and type something similar to:

on (release) {
//Enter your command here
trace("clicked");
}
AdseroAuthor
Participant
August 21, 2008
I'm actually beginning to wonder if what I want is possible at all. I want the animated button to serve as a link while the animation plays. Possible?

I attached the code to the button as you instructed, but may have done it wrong, as I'm not entirely familiar with scripting. It turned the button is now static.