Page 1 of 1
Flash source in HTML
Posted: Mon Oct 01, 2007 7:35 pm
by Cyberslam
What will be the source code of flash file (.swf) if i want to put it on my web page ?
Posted: Tue Oct 02, 2007 2:59 pm
by 360Texas
If by source code you mean HTML web page code then the answer is simple
In Pano2qtvr click on the /Helpers\ tab.
Look at the bottom box called "HTML File".
Template box: 2 GROUP choices
FULL SCREEN and NORMAL
For Flash you choose:
FULLSCREEN Flash
NORMAL Flash
File: use the [...] button on the right and browse to the panorama. SWF file you wish to display.
next click the [Create HTML] button and the HTML page code file is generated for you. IT ALSO CREATES a java script .JS file for you called p2q_embed_object.js
Be sure to upload p2q_embed_object.js to the same folder as your newly created panorama.swf HTML page.
Have you ever noticed while using IE6 or 7.. while viewing a panorama you see a gray outline around the pano viewer window and when you mouse over it you see a tool tip requesting you to mouse click to activate? p2q_embed_object.js removes this double click ACTIVATION requirement.
Hope this helps