Embed the xml "scriplets" in the object?
I use xsl to generate xml extensivly at my site. www.dlgreene.com
I see there is no "direct" view full screen as there is in PureTools or DevalVR but if there was a way to "embed" the menu xml stuff directly into the object tag it would work well for me because I could generate the xml for a "normal" size or a "full" size very easily because I generate the xhtml through xsl already.
For instance if you go to
http://www.dlgreene.com/vr_flash.aspx?panid=2006-10-08_15-00-02
the end product javascript is written in xsl. The code link at top left you can see the xsl that generates the javascript. You can see the result using view source of your browser.
My point is that I could easily generate the xml for the SPi-V scriptlets the same way based on parameters sent to the page. (it's all aspx fired). I realize that I could have separate xml files for the differing "states" that I want to deal with but it would make more sense if it could do it when I'm building the page in xsl anyway.
It would be possible to build a javascript variable with the xml in it... that might work but I would really like to build the xml right in the page. The obvious problem is how to pass it in.
fieldOfView | SPi-V dev
Re: Embed the xml "scriplets" in the object?
This is not possible with Shockwave; Shockwave has no access to the whole embedding document.
You may not need much xml though. Have a look at this document:
http://www.fieldofview.com/spv-dev/docs/howto/default_xml
If you are using 'simple mode' (ie: you just give SPi-V an image in a format it understands), default.xml will automatically be used if it can be found. Using default.xml it is pretty straightforward to add a toolbar and other scriptlets (branding etc) to your simple mode panoramas. No need to add anything special in your (X)HTML