# Simple vr object type movie question

**URL:** <https://forum.kirupa.com/t/simple-vr-object-type-movie-question/269565>\
**Category:** Uncategorized\
**Created:** [August 28, 2008, 11:38pm UTC](https://forum.kirupa.com/t/simple-vr-object-type-movie-question/269565 "2008-08-28T23:38:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![3dron](https://avatars.discourse-cdn.com/v4/letter/3/2acd7d/32.png) [@3dron](https://forum.kirupa.com/u/3dron)\
**Post date:** [August 28, 2008, 11:38pm UTC](https://forum.kirupa.com/t/simple-vr-object-type-movie-question/269565/1 "2008-08-28T23:38:01Z")

</div>

I have a 36 frame movieclip embedded within the root clip. On top of that I have 2 rollover “hotspots”. When I rollover the left clip it sets the frame-- and the right on rollover sets the frame++

The movie jumps one frame in either direction on rollover. But how do I get this effect to contiue on rollover. I have tried gotoandplay and gotoandstop on rollout but my code doesn’t seem to work right.

Any help?

Ron. R. Jr.

rot\_left.onRollOver = function() {  
\_global.step–;  
\_root.image.Pano.gotoAndStop((\_global.step%36)-1)  
}

rot\_right.onRollOver = function() {

```
	_global.step++;
	_root.image.Pano.gotoAndStop((_global.step%36)-1)

```

}
