Page 1 of 1

How to add flash to a website?

Posted: Thu Feb 05, 2009 2:46 pm
by will.allard
Hi all,

If this sounds a silly question please forgive my lack of knowledge! Do you need to add the swf file, html file and the embed object for the pano/tour to run in a web page? Furthermore, do you have to output the panorama images and the skin data and images for any particular reason.

One last question, when linking with hotspots to other panoramas they only work within the files that are on my computer. If I transfer them onto another machine the hotspots do not link to the panoramas. Would they link when they are added to a server?

If any body could help with their greater knowledge I would be most grateful!

Kind regards

Will

Re: How to add flash to a website?

Posted: Thu Feb 05, 2009 3:26 pm
by 360Texas
When I post a Flash to our website - using Pano2VR I generate a 1 flash.swf, 1 flash.html, and the common file for all flash panoramas called p2q_embed_object.js

Flash.html is the file shown in your browser.

It calls p2q_embed_object.js which tests the viewing visitor computer to assure the most current version of Flash has been installed
then it calls the Flash viewer browser plugin to display your flash.swf image

Only issue I see with linked hotspots would be the syntax used to call the next panorama.html file. On the server a hard code link would be http://www.yourdomain.com/folder/pano.html would cause the browser to retrieve your pano.htm from that link.

The same hard coded http:// .... on another computer not connected to the internet would fail.

However, if the hotspot code just used a 'relative link' syntax like (not using the http://) " ../folder/pano.html" would locally path to that folder and call the pano.html.

I think I said that correctly.

Re: How to add flash to a website?

Posted: Thu Feb 05, 2009 6:20 pm
by will.allard
Thank's for this, it seems a little clearer now!

Thanks for the reply