You are not logged in.

1

Saturday, September 18th 2010, 11:33am

user input during lookto

Is it possible to let
the user interrupt lookto ? I want to use it as it looks great
and is a great way to introduce a pano. However, as the user cannot
interrupt it, it would be too annoying for them as they are looked
out until complete.

Is there a way I can use this and allow
the user to interrupt it?

I created an extra scene just to
load once for the intro. Initially I panned right, left, up
then down. But as it takes too long and blocks user
interaction, I cut it down to right then left. In the end i
decided to not use it at all, but would love to enable it if I could.




<action name="startscene">
showtext(Le Grand Bar, infostyle);
action(activatespot,scene1, 285);
lookto(33,.83,90,smooth(75,50,150));
lookto(240,.83,90,smooth(75,50,150));
lookto(300.53,.83,90,smooth(75,50,150));
</action>

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Saturday, September 18th 2010, 12:23pm

Hi dpinparis,

Quoted

Is there a way I can use this and allow the user to interrupt it?
oninterrupt(newaction)

So, your action:

Source code

1
2
3
4
5
6
7
	<action name="startscene">
		showtext(Le Grand Bar, infostyle);
		oninterrupt(break);
		lookto(33,.83,90,smooth(75,50,150));
		lookto(240,.83,90,smooth(75,50,150));
		lookto(300.53,.83,90,smooth(75,50,150));
	</action> 


SAlut.

3

Saturday, September 18th 2010, 12:42pm

Thanks Michel!