View Full Version : Can you have an overlay image while loading?
rawtoast
09-22-2008, 07:25 PM
106
A Client asked if I could have simple directions on the gray screen while loading ("click and drag" and "Open for full screen" directions) ...
He sent me a screen shot that I attached. Can I create such a feature?
thanks,
Eli
siesfor
09-23-2008, 01:27 AM
Make up a .png of your help info and add it as a hotspot, ie...
<box id="help" url="<file-url>" static="1" blockmouse="0" visible="0" useHandCursor="0" <various image alignment parameters> />
then add help.visible=1 after your <global> onStart command, ie...
<global
onStart = "help.visible=1; panoToLoad()"
panoToLoad() = "
loadPano(blah-blah-blah)
onTransitionEnd = help.visible=0; "
/>
and that should take care of it.
rawtoast
09-23-2008, 06:07 PM
I think I need a tiny bit more guidance.
Here is the code I have for the xml - I'm sure it's not how you meant :(
<?xml version = '1.0' encoding = 'utf-8'?>
<panorama>
<parameters>
panoType = mov
loaderText =
layer_2 = glassMeter.swf
layer_3 = movDecoder.swf
layer_4 = SAFullscreen.swf
layer_5 = openFullscreen.swf
layer_6 = menuFullscreen.swf
layer_7 = hotspots.swf
</parameters>
<hotspots>
<box id="help" url="logoinfo.png" static="1" blockmouse="0" visible="0" useHandCursor="0" salign="BC" staticX="0" staticY="-50" />
<global
onStart = "help.visible=1; panoToLoad()"
panoToLoad() = "
loadPano()
onTransitionEnd = help.visible=0; "
/>
</hotspots>
</panorama>
I have logoinfo.png in the same directory - and was just trying to pull it up.
Can you advise - thanks so much!!!
siesfor
09-23-2008, 07:29 PM
Swap out this part...
<hotspots>
<box id="help" url="logoinfo.png" static="1" blockmouse="0" visible="0" useHandCursor="0" salign="BC" staticX="0" staticY="-50" />
<global
onStart = "help.visible=1; panoToLoad()"
panoToLoad() = "
loadPano()
onTransitionEnd = help.visible=0; "
/>
</hotspots>
for this, instead...
<hotspots>
<global
onStart = "help.visible=1; panoToLoad()"
panoToLoad() = "
loadPano()
onTransitionEnd = help.visible=0; "
/>
<box id="help" url="logoinfo.png" static="1" blockmouse="0" visible="0" useHandCursor="0" salign="BC" staticX="0" staticY="-50" />
</hotspots>
I just swapped out the placement of the hotspot, you'll always want the global tag first, before the hotspots.
Fill in the loadpano brackets for the first pano you want to call up, and it'll be ready to go.
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.