Hi guys,
Got this problem using a link in a scrollpane component. I made a button, gave it an instant name, but for some reason it doesn’t work.
Here’s the actionscript:
diddy_mc.onRelease = function() {
this._parent.gotoAndPlay(“diddy”);
}
And this’ the message I get whenever press on control/enter to play the movie:
Error Symbol=scroll, layer=pDiddy, frame=1:Line 1: Statement must appear within on handler
diddy_mc.onRelease = function() {
Can somebody please help! And how do I create this handler? What is a handler? Thanks in advance.
ric