Skip to main content
Participant
March 25, 2008
Question

Can someone help with a script error?

  • March 25, 2008
  • 1 reply
  • 162 views
I'm trying to create a pic gallery with rollover thumbnails. I'm using the following script in the action script layer:
thumb1.onRollOver=function(){
this._alpha=100;
}
thumb1.onRollOut=function(){
this._alpha=50;
}
I get the following error messages when I test it
1119: Access of possibly undefined property onRollOver through a reference with static type flash.display:SimpleButton.
This topic has been closed for replies.

1 reply

Craig Grummitt
Inspiring
March 26, 2008
what you've described is AS2 - to use AS3 you have to use a different syntax.
for example to do what you described could be something like: