I've been having a blast with this new version of krpano, and since HTML5 seems to be getting bigger I decided to take a look at a few of the interface examples, like the hotspot flyouts and the textfields. With parsing, I can take an introimage interface and put it in my tour,
<plugin name="introimagePC" url="introimagePC.png" align="center" devices="desktop|!mobile" onloaded="set(alpha,0); tween(alpha,1.0);" onclick="hideintroimagePC();" keep="true" />
<action name="hideintroimagePC"> if(plugin[introimagePC].enabled, set(plugin[introimagePC].enabled,false); tween(plugin[introimagePC].alpha, 0.0, 0.5, default, removeplugin(introimagePC)); ); </action>
And then in the tour.xml file at the top I add a simple
And it's off to the races!
So now my goal is to have 2 things:
1. Is to have a static box in a corner that has a little picture and a few lines of text. So I pull in scrollingtextfield.xml and after putting the textfield.swf in my folder, all the files associated, and then adding a little
The text field doesn't show up! However, in the tour.html if I add in a little xml:"scrollingtextfield.xml" in the embed, then I can see it, just like the example on the website! (So I know I've got everything in there.) What am I missing to put this text box on my tour?</include>
2. I want to have a fly out hotspot and then it's the scrolling text box. So after copying all the assets and code over to my folder, I get the same thing! I can't integrate the two interfaces because I can't even get them to show up on my tour. What am I missing?