# rollOver command error

**URL:** <https://forum.kirupa.com/t/rollover-command-error/293297>\
**Category:** flash\
**Created:** [July 27, 2009, 1:57am UTC](https://forum.kirupa.com/t/rollover-command-error/293297 "2009-07-27T01:57:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlm](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@rlm](https://forum.kirupa.com/u/rlm)\
**Post date:** [July 27, 2009, 1:57am UTC](https://forum.kirupa.com/t/rollover-command-error/293297/1 "2009-07-27T01:57:31Z")

</div>

## Hi, I’m using actionscript 1.0 and 2.0 on flash Pro 8 and keep getting an error when I test the movie. Here is the error:

on (rollOver) {  
sitenavmenu.play();  
}

## **Error** Symbol=menuback, layer=mask, frame=1:Line 1: Mouse events are permitted only for button instances on (rollOver) { Total ActionScript Errors: 1 Reported Errors: 1

Can someone please tell me what I’m doing wrong? I’ve tried to create this rollover navigation…starting over 6 times already. Is there different language/coding for 1.0 and 2.0? I don’t understand what I’m doing wrong.

Thank you
