Hello!

I've stitched up a long picture of my living room (about 270 degrees
from one spot) and I want to make some sort of a virtual tour.

Problem is, I have a script for a 360 degree panoramic view but not
for a smaller angle (i.e. the picture strip goes around in a loop but
I do not want that -- I want the photo to stop scrolling beyond the
endpoints).

Does anyone know where to find such a script? I've searched for days.

Anyway, I have 360 degree script below, which I don't really
understand.

I'd appreciate any help. Thanks!


Mike

-----------------------
// There are 5 frames with scripts

// Frame 1
speed = 40;
slut = getProperty ( strip, _width);
setProperty ("strip", _visible, 0);
duplicateMovieClip ("strip", "strip1", 1);
duplicateMovieClip ("strip", "strip2", 2);
duplicateMovieClip ("strip", "strip3", 3);
gotoAndPlay (2);

// Frame 2
startDrag ("drag", true);

// Frame 3
xposition = getProperty("strip1", _x);
setProperty ("strip1", _x,
Number(xposition)+Number(((getProperty("drag", _x)/(100-speed))*-1)));
setProperty ("strip2", _x,
Number(Number(xposition)+Number(((getProperty("dra g",
_x)/(100-speed))*-1)))+Number(slut));
setProperty ("strip3", _x,
Number(xposition)+Number(((getProperty("drag",
_x)/(100-speed))*-1))-slut);
// limits for slide
if (Number(getProperty("strip1", _x))<Number(-slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
if (Number(getProperty("strip1", _x))>Number(slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}

// Frame 4
xposition = getProperty("strip1", _x);
setProperty ("strip1", _x,
Number(xposition)+Number(((getProperty("drag", _x)/(100-speed))*-1)));
setProperty ("strip2", _x,
Number(xposition)+Number(((getProperty("drag",
_x)/(100-speed))*-1))-slut);
setProperty ("strip3", _x,
Number(Number(xposition)+Number(((getProperty("dra g",
_x)/(100-speed))*-1)))+Number(slut));
// limits for slide - minus slut
if (Number(getProperty("strip1", _x))<Number(-slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
if (Number(getProperty("strip1", _x))>Number(slut)) {
setProperty ("strip1", _x, 0);
setProperty ("strip2", _x, slut);
setProperty ("strip3", _x, -slut);
}
gotoAndPlay (3);

// Frame 5
stopDrag ();