[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] [font=Verdana]
[/font][color=#800080]http://www.kirupa.com/forum/showthread.php?t=76387[/color] [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]