PDA

View Full Version : Autorotator to the center?


robrockyeah13
01-09-2008, 01:46 PM
Is it possible to set the autorotator going gradually to the center while it's going on???

zleifr
01-09-2008, 03:01 PM
?

I don't understand what you mean, please elaborate.

cheathamlane
01-09-2008, 06:40 PM
The autorotator won't do this right "out of the box".

You could put a script in the XML which would slowly tilt the VR down or up to center whilst autorotating; you'd need to use a "timer" to watch for inactivity, and then have it kick in and change the panorama's tilt.

discocandy
02-24-2008, 08:40 PM
could someone give me an xml sample to do this??
thnx for reading

cheathamlane
02-24-2008, 11:05 PM
could someone give me an xml sample to do this??
thnx for reading

In your pano element in your FPP XML, you could use something like the following:

<pano onPress="timer=0" onRelease="timer+=1,5000,,cl_pano_move"></pano>

Then, pair that up with the rest of the mini-tutorial at flashpanos.com (http://www.flashpanos.com/content/simple-panorama-auto-presentation), and you'll be set in no time!

ICS
03-15-2008, 05:48 PM
Hi,

I dont know if i do something wrong but it's not working...

<pano onPress="timer=0" onRelease="timer+=1,100,,pano.tilt=0,1000"></pano>

I put this code between </global> and my toolbar.

In fact, the autorotation work properly but not the tilt action...

Can anybody help giving me a full exemple or rather a context for this code ?

Thx!

ICS
03-17-2008, 12:36 PM
Can't anybody help me ?

cheathamlane
03-17-2008, 01:28 PM
Why don't you try something like:

<pano
onPress="timer=0"
onRelease="timer+=1,100,,myCoolFunction"

myCoolFunction="pano.tilt=0,1000"
>
</pano>

pfit
03-17-2008, 03:40 PM
hello,

i does not. :(
there is an example online?

pfit

ICS
03-17-2008, 10:08 PM
Not working... :sad:

cheathamlane
03-17-2008, 11:40 PM
Not working... :sad:

Do you have a link to an example where it's not working? That could be very helpful!

ICS
03-18-2008, 12:05 PM
Here is an extract of my xml.

I take up hotspots for testing purpose.

<?xml version="1.0"?>

<panorama>
<parameters>
panoName = images/fond_cube_S

disableLoading= 0
disableControls=0

loaderTextColor = #FFFFFF
loaderBackColor = #000000

qualityMotion = low
segments=15

panHome=0
tiltHome=0

zoomHome= 1.1
zoomMax = 2
zoomMin = 0.75

layer_2 = plugins/hotspots.swf
layer_3 = plugins/autorotator.swf
layer_4 = plugins/tooltips.swf
layer_5 = plugins/glassmeter.swf
layer_6 = plugins/smartscale.swf
</parameters>

<autorotator>
speed=-0.1
interval=30
pause=100000
quality=high
</autorotator>

<tooltips>
altFont=Century Gothic
altSize=30
altColor=0x000000
altFill=0xFFFFFF
altStroke=0x999999
altAlpha=0.6
</tooltips>

<smartscale>
mode=reduce
</smartscale>

<hotspots>


<global LocalConnectionID="lc_test"

onStart="loadPreview()"
loadPreview="loadPano(panoName=images/fond_cube_S,100);onTransitionEnd=loadmain();pano.q ualityStatic=low"
loadMain="loadPano(panoName=images/pano4,1000);onTransitionEnd=pano.qualityStatic=bes t;"

>
<pano
onPress="timer=0"
onRelease="timer+=1,100,,myCoolFunction"

myCoolFunction="pano.tilt=0,1000"
>
</pano>
</global>

</hotspots>

</panorama>

ICS
03-19-2008, 12:06 AM
Hi.

In fact, i was mistaken...

The code work properly, but not while dragging in the pano or using a toolbar... Which is quite disturbing...

I think that the good way to solve this is to integrate this option in the autorotator.swf plugin.

I'm very astonished that it's not already done. Every other advanced panorama tool maker allow that...

Do autors will integrate this option in short delay ?

Really sorry for my english... :rolleyes:

neil
03-19-2008, 02:05 AM
It seems that the return to tilt 0 function may be conflicting/competing with the autorotator plugin.

Years ago a small program for Quicktime VR authors, revolVR, allowed the author to set the rotation speed and direction of the pano as well as a "self-leveling" option. Whenever the user stopped panning, the pano returned to 0 tilt. I think this is what is being requested here by ICS.

I personally found the floating back to 0 tilt very annoying as it left the user with only partial control over the panorama. That said, one client still insists on using it and I guess there may be some situations where it could be a useful alternative plugin to autorotator. Could be a job for the plugin experts!

Neil

ICS
03-19-2008, 10:43 AM
In fact, exceptiing Quicktime, every panorama maker i tried got this option, with a timer to set the delay between the last tilt move and the "back to zero" instruction which alow the visitor to just sit and watch...

Cause there is numbers of my clients who are answering me why i can't propose this option on this format.

SPI-V did (and is free), PurePlayer (Java and Flash) did, Pano2QTVR did, so why don't you ? :confused:

cheathamlane
03-20-2008, 02:12 AM
Hi there:

OK, I was working on this a few weeks ago, and finally made time to post a version for folks to try out. :)

Check out the AutoHorizon Plugin here (http://flashpanos.com/plugins/patrick/autohorizon), and let me know!

(ph, I tried to email you, but it got returned to me as undeliverable -- please try this plugin if you think it will help you)

--
There's been a little confusion, and I just want to clear things up -- Zephyr and I share the http://flashpanos.com site, but each Plugin creator has control over their own plugins. The contact form and comments area at flashpanos.com is the quickest way to get support for or ask questions about the plugins by myself, Zephyr, and/or other contributors over at flashpanos.com. The current crop of plugins is as follows:

(patrick) AutoHorizon (http://flashpanos.com/plugins/patrick/autohorizon)
(zephyr) HideAPano (http://flashpanos.com/plugins/zephyr/hideapano-encryption-utility)
(patrick) DropDown Menu Navigation (http://flashpanos.com/content/dropdown-menu-plugin-v20)
(zephyr) Image Carousel (http://flashpanos.com/plugins/zephyr/carousel-v01a)
(patrick) Multiple Hotspots Controller (http://flashpanos.com/content/grouped-hotspots-controller-v10)
(zephyr) Extensible Tooltips (http://flashpanos.com/plugins/zephyr/extensible-tooltips)
(zephyr) Extensible comboBox (http://flashpanos.com/plugins/zephyr/extensible-combobox-controller)
(zephyr) Extensible LoadMeter (http://flashpanos.com/plugins/zephyr/extensible-load-meter)
(zephyr) MouseOver Pano Interface (http://flashpanos.com/plugins/zephyr/mouse-panorama-interface)
(zephyr) Image Cache (http://flashpanos.com/plugins/zephyr/image-cache-plug)
(Rick Workman) Video transition player (http://flashpanos.com/plugins/patrick/video-player-plugin-flash-panorama-player)
(Rick Workman) Ambient sound player (http://flashpanos.com/plugins/patrick/ambient-sound-playeraudio-mixer-plugin-flash-panorama-player) (very cool!)

Cheers,

Patrick