# Urgent...vertical panorama with stop unrecogniseable script!

**URL:** https://forum.kirupa.com/t/urgent-vertical-panorama-with-stop-unrecogniseable-script/169188
**Category:** Uncategorized
**Created:** [November 14, 2005, 10:30am UTC](https://forum.kirupa.com/t/urgent-vertical-panorama-with-stop-unrecogniseable-script/169188 "2005-11-14T10:30:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![packer](https://avatars.discourse-cdn.com/v4/letter/p/4da419/32.png) [@packer](https://forum.kirupa.com/u/packer)
#### Post date: [November 14, 2005, 10:30am UTC](https://forum.kirupa.com/t/urgent-vertical-panorama-with-stop-unrecogniseable-script/169188/1 "2005-11-14T10:30:39Z")

</div>

Hi wondering if anyone would know how to convert this Flash 5 script to Flash MX 2004 version because it only seems to work exported in version 5, however I need it to work in version 7 as all the other components in the movie will be version 7 scripts…

Alternatively, if anyone knows how to get this to work another way (completely different from this way), I would appreciate the help.

Basically I want to make a movie clip that scrolls up and down (more or less like a panorama) and stops at the two ends (basically so it won’t loop). Got it to work but only exported as version 5 and not 7 which I would need it to be.

Will attach the movie if it helps.

Here is the script I used in the main stage:

[size=1][color=blue]stop ();  
fscommand (“allowscale”, “false”);  
movieclip.prototype.panoslide = function (links,Rwert,Lwert,objekt){  
posX = \_root.\_xmouse;  
posY = \_root.\_ymouse;  
mauspointer(\_root.xlinie,\_root.ylinie,\_root.xlinie2,\_root.ylinie2);  
if (posY\>Rwert) {  
if (objekt.\_y\>links) {  
slide(200,200,18.5);  
}  
} else if (posY\<Lwert) {  
if (objekt.\_y\< bild\_xpos) {  
slide(200,200,18.5);  
}  
}  
}  
movieclip.prototype.mauspointer = function (Xobj1,Yobj1,Xobj2,Yobj2) {  
Xobj1.\_x = posX;  
Yobj1.\_y = posY;  
Xobj2.\_x = posX;  
Yobj2.\_y = posY;  
}  
movieclip.prototype.slide = function (subWert,divWert,mWert) {  
tempo=((posY-subWert)/divWert)\*mWert;  
if ((tempo\<0.5) && (tempo\>-0.5)) {  
tempo = 0;  
}  
\_y = \_y-tempo;  
}[/color][/size]

And the script that is on the movie clip I want to move is:

[size=1][color=blue]onClipEvent (load) {  
bild\_ypos = \_root.bild.\_y;  
}  
onClipEvent (enterFrame) {  
panoslide(-500,200,200,\_root.bild);  
}[/color][/size]  
[size=1][color=#0000ff][/color][/size]  
[color=black]Hope someone can help! 🙂 [/color]
