Ask a Question related to Macromedia Flash, Design and Development.
-
Mike #1
Panoramic Virtual Tour in Flash
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 ();
Mike Guest
-
Virtual Tour using director
Hallo everyone.. I hope i ll get an answer here. I am doing a project using director mx.. I am not a bigginer and i am trying to find out how can... -
How do I insert a Virtual Tour to a web page?
I have the stitching software and I already converted the images in quicktime viewable, but I do not know how to insert it in a web page to publish... -
virtual tour
I'm trying to make a virtual tour of our church for its web site. I have Studio MX and have hosting through ZmOz which offers capatibility with... -
Flash Virtual tour - opinions please
Hi, I've created this recently. Yes, this *is* where I work *and* its in the UK. Let me know what you think.. ... -
Virtual Tour Software???
Are there any Virtual Tour Capabilities in Photoshop or any other Photoshop software so that I can use it to make my own Virtual Tours similar to...



Reply With Quote

