# Any help on reverse playing?

**URL:** <https://forum.kirupa.com/t/any-help-on-reverse-playing/146978>\
**Category:** Uncategorized\
**Created:** [May 5, 2005, 8:51pm UTC](https://forum.kirupa.com/t/any-help-on-reverse-playing/146978 "2005-05-05T20:51:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown\_anyway](https://avatars.discourse-cdn.com/v4/letter/u/ce73a5/32.png) [@unknown\_anyway](https://forum.kirupa.com/u/unknown_anyway)\
**Post date:** [May 5, 2005, 8:51pm UTC](https://forum.kirupa.com/t/any-help-on-reverse-playing/146978/1 "2005-05-05T20:51:03Z")

</div>

[size=3][font=Times New Roman]Hello everybody![/font][/size]

[size=3][font=Times New Roman]I am quite new to flash so any help on this would be much appreciated…[/font][/size]

[size=3][font=Times New Roman]I am trying to create a movieclip where one can view a 360 panoramic image. To achieve this I created two transparent buttons on each side of the image. For the first one it’s easy to create, just a simple play function. The second one should reverse play. I found other threads on the subject, but have no idea of the use of this code. The problem is I don’t want the function to take place on a certain frame, but any time I roll over the button.[/font][/size]

[size=3][font=Times New Roman]Here is what I found about it:[/font][/size]

MovieClip.prototype.goBackwards = function(frames) { [font=Verdana]  
this.onEnterFrame = function() {  
this.gotoAndStop(this.\_currentframe - 1);  
frames -= 1;  
if (frames == 0) {  
delete this.onEnterFrame;  
}  
}  
}

[/font]or[font=Verdana]

MovieClip.prototype.goBackwards= function(frames){  
this.startFrame = this.\_currentframe;  
this.onEnterFrame = function(){  
if (this.\_currentframe \> (this.startFrame-frames) prevFrame();  
else delete this.onEnterFrame;  
}  
}

[/font]and some others: [font=Verdana]

[/font][[color=#800080]http://www.kirupa.com/forum/showthread.php?t=88789&[/color]](http://www.kirupa.com/forum/showthread.php?t=88789&) [font=Verdana]  
[/font][[color=#800080]http://www.kirupa.com/forum/showthread.php?t=76387[/color]](http://www.kirupa.com/forum/showthread.php?t=76387) [font=Verdana]

Additionally, I want to insert some other images inside the panoramic image. Is there any way to make kind of a focus in/focus out on that image?[/font]

[font=Verdana]I attached the flash I am trying to create and I have already inserted an image there, which I turned into a button.[/font]
