View Full Version : using obectmovie inside panorama ;)
discocandy
02-26-2008, 08:30 PM
I've been thinking about using a obectmovie inside a panorama just like you open an image.
you see a still image on the panorama or a link pops up when you see something in a store and when you click on it it opens up a objectmovie inside the panorama
you find a quick objectmovie swf I made to try but did not get it. in the link.
anyone ideas how to do this??
could be very usefull in shops.
slimer (http://www.kandiefoto.nl/images/slimer.swf)
regards.
freddy
Hi mate!
I am doing this, the effect is quite good. What u need is just to load the object movie like any other SWF as a spot object, then find it a proper place in the editor and it works out great, it has all the functionality. I dont know what problems u got there, but if there is smth, ask :D
enjoY!
Trausti Hraunfjord
02-27-2008, 05:22 AM
Hi Joro.
Do you have a link to an example? I think this is one of the first things I asked about as a member here, and was told it would be very very difficult to manage.
Ok... I had the example of the object movie as a .mov file, not .swf file. Yes, there is a big difference, but still, the result is what counts.
all right...there u go :)
http://jorostuff.hit.bg/
thats a the simple xml - 1 hotspot with these params :
<hotspots>
<global>
<spot id="1" url="slimer.swf" static="1" staticX="-251.00" staticY="-211.00" salign="RB" depth="0" scale="0.87" buttonMode="0" useHandCursor="0" mouseChildren="0" />
</global>
</hotspots>
and from now on, its all up to ur object movie, as u can see the buddy Slimer here, is moving with the pano on the mouse movement, cos its creator made it to be mose sensitive. If u wanna use it for pano tho, i recommend makin a control bar which will give the navigation in the objectmovie, so it aint rotating like crazy :) What else...mov wont work i think, since flash container wont load it...but makin a object movie in flash aint that hard, i prefer java myself tho, but since u cant load that in pano too, flash it is :)
Trausti Hraunfjord
02-27-2008, 06:37 AM
Thank you for the example!
discocandy
02-27-2008, 12:39 PM
Hi jorro.
Thnx for the info. very happy about that.
to bad the panorama moves together with the object movie.
I see I was thinking way to difficult :rolleyes:
but very nice to see my own obectmovie inside a panorama.
broma
02-27-2008, 01:03 PM
Hi Joro,
It is possible to put an obectmovie in a box instead of spot and rotate it with the panorama?
Thanks
all right mates :D i c u guys like them object movies lol. As i said, u should adjust them to have the best performance. BUT, the FPP is very powerful tool and with a couple more lnes u can achieve the effect of moving the OBJECT movie and the PANO separately :D
chek this link again: http://jorostuff.hit.bg and let me know what u think.
(tip - if it does not load the new thing clean ur browser cashe:))
the code is:
<spot id="1" url="slimer.swf" static="1" staticX="-105.00" staticY="-128.00" depth="0" scale="0.95" useHandCursor="0" mouseChildren="0" onover="pano.disablepan=1;pano.disabletilt=1" onout="1.visible=0;2.visible=1;pano.disablepan=0;pano.dis abletilt=0"/>
<spot id="2" url="slimmer1.swf" static="1" staticX="-73.00" staticY="-76.00" depth="1" onover="2.visible=0;1.visible=1"/>
slimer - the object movie
slimmer1 - the blured preview
hopw this helps! enjoY:)
discocandy
02-27-2008, 07:54 PM
very nice to see my slimer to be of good use to show this.. thnx joro for your work.
My house is filled with these kind of toys..
cheathamlane
02-27-2008, 09:26 PM
Cool, glad to see some success with including objects in panos...
One thing I notice with Joro's example is that if you keep the mouse down, and move it into the pano area, the object still responds...
?
u got me there dude :) Fixed tho!
clen up ur browser cash and chek it again:
http://jorostuff.hit.bg/
there is the code:
<hotspots>
<global showcover="1.visible=0;2.alpha=1;pano.disablepan=0;pano.disab letilt=0">
<spot id="1" url="slimer.swf" static="1" staticX="-105.00" staticY="-128.00" depth="0" scale="0.95" useHandCursor="0" mouseChildren="0" />
<spot id="2" url="slimmer1.swf" static="1" staticX="-73.00" staticY="-76.00" depth="1" useHandCursor="0" mouseChildren="0" onover="2.alpha=0;1.visible=1; pano.disablepan=1;pano.disabletilt=1"/>
<spot id="3" url="back.png" static="1" depth="-1" useHandCursor="0" alpha="0" onover="showcover" />
</global>
</hotspots>
slimer.swf - the object movie from discocandy :D
slimmer1.swf - the blured preview
back.png - a white bitmap(with alpha set to 0), about 2kb
hope this one worx and helped somebody:)
enjoY!
broma
02-28-2008, 01:43 PM
Hi Joro,
can explain what you used to create the file slimer.swf?
Thanks
discocandy
02-28-2008, 02:06 PM
I can. I made it.
It is made with pano2qtvr 1.6 with flash output.
you can also do mov with it.
Hi,
What can be the reason, the object movie doesnґt autorotate in FPP? It made with pano2qtvr with autorotation and working well outside of FPP.
In FPP I can rotate it by draging inside or beside it. Tried all the options offered by joro.
It must be, I still missing something important. Here is code
<spot id="hs-skulp" url="images/photo.png" pan="278" tilt="-6" depth="0"
onClick="skulp.visible=1" />
<spot id="skulp" url="images/skulp.swf" static="1" depth="0" visible="0"
onClick="visible=0" mouseChildren="1"
/>
Thanks in advance
this code u have posted will not work, try copy paste my code.
Thank you Joro,
Your code is working fine and object rotate. The only, and for me biggest, problem - I build a gallery with many of them and if I open them from hotspots, they refuse to rotate again.
upload ur project somwhere and give me link so i can see it, otherwise cant help much
Thanks Joro. Sent you PM with link to project.zip
All right, so the solution for the autorotation of the object movies that uudu came up with are as follows:
<spot id="hs-slimer" url="images/hot.png" pan="166" tilt="11" depth="0"
onClick="slimer.visible=1" />
<spot id="slimer" url="images/slimer.swf" visible="0" static="1" staticX="-105.00" staticY="-128.00" depth="0" scale="1" useHandCursor="0" mouseChildren="1"
onClick="visible=0"
/>
<box id="slimer1" url="images/slimer.swf" refreshrate="0.5" visible="0"/>
:)
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.