smarttart62
07-06-2007, 01:55 AM
I haven't touched Flash since MX 2004 and it's like a whole new learning expirience.
I'm about to stab someone in the eye, so i'd appreciate if someone could help me with the following error:
1119: Access of possibly undefined property onRollOver through a reference with static type flash.display:SimpleButton.
I have a button named btMail and made the code (in a frame):
btMail.onRollOver=function(){
// btGlass.x-=100;
gotoAndStop(5);
}
So that when it rolls over it should change the position of another button. I tried using the first commented code that in my book should have done the trick (also tried it with a root) and it didn't work. So i figured i'd just make a new frame and change the positions to my liking... Still doesn't work, and i get that damn error code... Aparently i can't just put that code in a button anymore? Well i thought i could apply actions to a button, but i guess not...
Anyways, can someone please help me find the error in my code?
Thanks,
-Steve
I'm about to stab someone in the eye, so i'd appreciate if someone could help me with the following error:
1119: Access of possibly undefined property onRollOver through a reference with static type flash.display:SimpleButton.
I have a button named btMail and made the code (in a frame):
btMail.onRollOver=function(){
// btGlass.x-=100;
gotoAndStop(5);
}
So that when it rolls over it should change the position of another button. I tried using the first commented code that in my book should have done the trick (also tried it with a root) and it didn't work. So i figured i'd just make a new frame and change the positions to my liking... Still doesn't work, and i get that damn error code... Aparently i can't just put that code in a button anymore? Well i thought i could apply actions to a button, but i guess not...
Anyways, can someone please help me find the error in my code?
Thanks,
-Steve