# Assign cursor action to MovieClip using onRollOver action?

**URL:** <https://forum.kirupa.com/t/assign-cursor-action-to-movieclip-using-onrollover-action/228320>\
**Category:** flash\
**Created:** [June 6, 2007, 9:58pm UTC](https://forum.kirupa.com/t/assign-cursor-action-to-movieclip-using-onrollover-action/228320 "2007-06-06T21:58:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g\_rochford](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@g\_rochford](https://forum.kirupa.com/u/g_rochford)\
**Post date:** [June 6, 2007, 9:58pm UTC](https://forum.kirupa.com/t/assign-cursor-action-to-movieclip-using-onrollover-action/228320/1 "2007-06-06T21:58:06Z")

</div>

Hi all

I have a cool component from FlashLoaded which lets me create brilliant 3d layouts with out much hassle. The componet uses the cursors to zoom in zoom out and pan left and right.

I dont want to have to put an explanation on the site, I would like to put some invisible mc’s or buttons on the stage that when the user rolls over them with the mouse it triggers that action.

Is there a simple piece of code i can place on the buttons to make this happen?

Many thanks in advance

Greg
