Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Scrolling 360 Degree Picture

0 views
Skip to first unread message

Travman

unread,
Jan 7, 2005, 7:37:18 AM1/7/05
to
Hello there, for all you flash experts i have a challenge for you.... On the
link below is a website with a bit of flash included, basically a 360 degree
shot of a room which has ben pulled into flash and then a nice bit of code
added, if anyone can help me get a tutorial on how to do this animation please
reply back here !!! http://www.capevillas.com/roudeburg/index.htm You will
see in the middle of the image with the cursor either side of the middle it
slides to the left or right. I need that auto scripting or code.
http://www.capevillas.com/roudeburg/index.htm

mxc

unread,
Jan 7, 2005, 7:46:30 AM1/7/05
to
This effect and many others are covered in "Flash Hacks" by Sham Bhangal and
published by O'Reilly.

Its a must have book for young and old alike :-D

The effect you are looking for is
not difficult to acheive and I am sure it is well covered by free tuts on the
web if you dont want to spend the 23 bucks :-)

David Stiller

unread,
Jan 7, 2005, 8:27:59 AM1/7/05
to
Agreed. Google is your friend.

Search terms: "Flash panoramic tutorial" ...
http://www.webwasp.co.uk/tutorials/b31-panorama/index.php


David
stiller (at) quip (dot) net
"Luck is the residue of good design."


urami_

unread,
Jan 7, 2005, 10:00:25 AM1/7/05
to

David Stiller wrote:
> Agreed. Google is your friend.
>
> Search terms: "Flash panoramic tutorial" ...
> http://www.webwasp.co.uk/tutorials/b31-panorama/index.php
>

it's cool but the code is kind of , no offense or anything, it can be done much
easier.

Let me paste my other reply on same topic :

One of my favorite subjects , been doing panoramic for all kind of companies from
hotels to estate and featuring tourist destinations.
There is lots and lots of ways to approach that.
Let me first show you the easiest pano with minimum control , just the mouse left right :

http://www.flashfugitive.com/cgi-bin/panorama360.swf

First import your image and make movie clip out of it - click it and hit F8 - new movie clip.
Than right click it and go to properties - type IMG in the instance name box.
This is its instance name .
Now again , click it and hit F8 , make one more movie clip out of it .
And again , right click , instance name MC

So we end up having MC movie clip with IMG movie clip instance .

All you need now is right click your newly made MC - actions - and paste

onClipEvent (load) {
Xwidth = _root.mc._width;
for (i=1; i<4; i++) {
img.duplicateMovieClip("img"+i, i);
}
}
onClipEvent (enterFrame) {
Xpos = _root.mc.img1._x;
k = Xpos-_root.mc._xmouse/20;
_root.mc.img1._x = k;
_root.mc.img2._x = k+Xwidth;
_root.mc.img3._x = k-Xwidth;
if ((Xpos<-Xwidth) or (Xpos>Xwidth)) {
_root.mc.img1._x = 0;
_root.mc.img2._x = Xwidth;
_root.mc.img3._x = -Xwidth;
}
}

You could place it within HitTest to limit the scroll only
to the view area so it does not scroll when you outside the clip.


onClipEvent (load) {
Xwidth = _root.mc._width;
for (i=1; i<4; i++) {
img.duplicateMovieClip("img"+i, i);
}
}
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
Xpos = _root.mc.img1._x;
k = Xpos-(_root.mc._xmouse/20);
_root.mc.img1._x = k;
_root.mc.img2._x = k+Xwidth;
_root.mc.img3._x = k-Xwidth;
if ((Xpos<(-Xwidth)) or (Xpos>Xwidth)) {
_root.mc.img1._x = 0;
_root.mc.img2._x = Xwidth;
_root.mc.img3._x = -Xwidth;
}
}
}


There is very nice component you can download, load photos dynamically for you
and allow to load in run time on button click so you can make "hot spots"
on your panorama.

http://www.sephiroth.it/file_detail.php?id=101
(totally free one)
lots of tips in the Users' Comments (57)
read it .

I also noticed due to the you could use panorama heads. You might not need it and often ,especially
for outdoor shots its not required, but indoor you experience very visible barrel distortion and
chromatic aberration. When windows and ceiling (straight lines) become arcs .
The parallax error is due to lens not rotating exactly around the 'nodal point' of the lens.
With panorama head you are able to adjust the camera position relative to the turning axis.

For more info you can check the following article :
http://www.htu.at/~sascha/ptguide/01.htm#04

Here you will find home made pano head :
http://www.erik-krause.de/panohead/

Personally I'm not clever with aluminum nor do I even have screwdriver at home so I bought few :
(great choice and reasonable price)
http://www.kaidan.com/Detail.bok?no=52

also

http://www.manfrotto.com/product/itemlist.php3?manufid=1&sectionid=11

My personal favorite , manfrotto has great hardware . Worth to invest if you going to
use it regularly .

I have some pano work I can't upload here because it was client work but can explain in details
in private mail.
http://www.Flashfugitive.com/ang-zhang/pano/PanoSample.zip
It's an exe file , 600 KB projector made in flash and compress and tuned with Jugglor.
If you need any info in regard to that file , feel free to contact me at
"runner AT flashfugitive DOT com"


--
Happy New Year and all the best to all of you guys !!!


<urami>
http://www.Flashfugitive.com
</urami>


<web junk free>
http://www.firefox.com
</web junk free>

0 new messages