Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2008, 12:17 PM
myksa myksa is offline
Member
 
Join Date: Sep 2008
Location: Poland
Posts: 81
Downloads: 2
Uploads: 0
Question Transitions and timing

Hello,

I want to make a transition effect with two stages. First stage is to move first panorama to specified direction and after this movement I want to make blending effect between panoramas.

My question is, how can I make a first move, and when it finishes trigger the second move.
Reply With Quote
  #2  
Old 10-17-2008, 10:22 PM
Rick Workman Rick Workman is offline
Member
 
Join Date: Jan 2008
Posts: 37
Downloads: 0
Uploads: 0
Default

Check out the "Assignments and motion tweens" section of the Hotspots tutorial. Essentially you assign your pan, tilt, and zoom values with tweens to move the first pano. Then on one of the tweens add a done function which contains the load for the destination pan specifying, e.g., fade.

For example, a hotspot used to trigger a transition might contain something like:

onClick="pano.pan=-109,500,easyOut,doneHandler;pano.tilt=0,500;pano.z oom=1.7,500"
doneHandler="loadPano(xml_file=destPan.xml&pan=38& tilt=0&zoom=1.28,500,fade)"

Is this what you were looking for?

Rick
Reply With Quote
  #3  
Old 10-23-2008, 12:42 PM
myksa myksa is offline
Member
 
Join Date: Sep 2008
Location: Poland
Posts: 81
Downloads: 2
Uploads: 0
Default

Yes, it's exactly what I was looking for, thanks for help!
Reply With Quote
Reply

Tags
timing, transition, trigger

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:27 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.