cancel
Showing results for 
Search instead for 
Did you mean: 

Display HTML page w/ embedded flash object?

khanh
Champ in-the-making
Champ in-the-making
Hi,
is it possible to upload an html page to the library that has references to a swf and have it play as a web page when doing View In Browser?

Example, i have a sample.swf that is uploaded to the document library,
i have an sample.html file that uses the sample.swf
but the sample.html when view in browser, does actually play the sample.swf

example below of the sample.html
it seems it doesn't render the html like a "web page"
if i view the sample.swf via View in Browser, that swf plays by itself.
I need to play the swf in side the html page.

—-

      <div id="archiveDiv" style="position:relative; width:1600px; height:1200px; z-index:1">
     <object classid="clsidSmiley Very Happy27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%">
     <param NAME="movie" VALUE="sample.swf">
     <param NAME="quality" VALUE="high">
     <embed src="sample.swf" quality="high"  WIDTH="100%" HEIGHT="100%"  TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" swLiveConnect="true"></embed>
    </object>
     </div>
1 REPLY 1

redfeilds18
Champ in-the-making
Champ in-the-making
yes it is possible to preview your .swf file in any browser. simply embed the code in your html code save on any location if you have no preview option available in your html editor.