How to add flash to a website?

Q&A about the latest versions
Post Reply
User avatar
will.allard
Posts: 17
Joined: Wed Jan 28, 2009 9:22 am
Location: Dorset, UK
Contact:

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
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

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.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
User avatar
will.allard
Posts: 17
Joined: Wed Jan 28, 2009 9:22 am
Location: Dorset, UK
Contact:

Thank's for this, it seems a little clearer now!

Thanks for the reply
Post Reply