We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

SWF in header | Forum

Topic location: Forum home » Support » General Questions
André Cruz
André Cruz Sep 17 '14

It is possible I put an element in the header swf? I'm with 3 files 1 swf and 2 html, was told to put the files in the same folder but how do I do that?

Attachments:
  pictures.rar (1Kb)
ross Team
ross Sep 18 '14
I'm sorry I don't understand what you're trying to achieve please elaborate. 
André Cruz
André Cruz Sep 18 '14
I would like to put a slider on swf but the program that created gave me 3 files, and 1.swf 2.html was wondering if it is possible to move the header because the code I got was this


Tip: Upload all the published files to the same folder of your website, then copy and paste the "embed code" below to your webpage to embed this flash slide show on your website.

It is possible to put in some folder 3 files and use this code?

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/...bs/flash/swflash.cab" width="1000" height="302" id="tech" align="middle" quality="high"allowFullScreen="true" wmode="transparent" allowScriptAccess="always" >
  <param name="movie" value="pictures.swf" />
  <param name="quality" value="high" />
  <param name="allowFullScreen" value="true" />
  <param name="wmode" value="transparent" />
  <param name="allowScriptAccess" value="always" />
  <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
  <param name="_flashhost" value="http://www.go2album.com" />
  <embed src="pictures.swf" width="1000" height="302" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
~~

Attachments:
  pictures.rar (289Kb)
ross Team
ross Sep 18 '14
I can't open both html files.
André Cruz
André Cruz Sep 18 '14
Yes but the program is a clear instruction that put the 3 files in the same folder and pull them open the url pictures.html and will see the slider in your swf I have to have it when you create the slide of it this statement clear.

Excuse my English because I am Brazilian
ross Team
ross Sep 18 '14
Yes, but how can we check the content of those html files?
André Cruz
André Cruz Sep 18 '14
Notepad ++
ross Team
ross Sep 18 '14
I tried different software, none of them could open the files. 
André Cruz
André Cruz Sep 18 '14
++ notepad opens easily any one of them follows the code of each

fs_aux.htlm

<!-- saved from url=(0013)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>fs_aux</title>
<style type="text/css">
<!--
body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
-->
</style>
</head>
<body>
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/...bs/flash/swflash.cab" width="1000" height="302" id="tech" align="middle" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always">
    <param name="movie" value="pictures.swf" />
    <param name="quality" value="high" />
    <param name="allowFullScreen" value="true" />
    <param name="wmode" value="transparent" />
    <param name="allowScriptAccess" value="always" />
    <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
    <param name="_flashhost" value="http://www.go2album.com" />
    <embed src="pictures.swf" width="1000" height="302" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  </object>
</body>
</html>
 
pictures.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>pictures</title>
<style type="text/css">
<!--
* { margin: 0 auto; padding: 0; }
body { background-color: #333; color: #ccc; font-size: 110%; line-height: 1.2em; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; }
.global { width: 100%; height: 100%; text-align: center; }
.top { width: 100%; height: 20px; float: left; background-color: #1A1A1A; border-bottom: 1px solid #5A5A5A; }
.center { width: 100%; height: auto; float: left; }
.footer { width: 100%; height: 10px; float: left; }
.text, .embedcode { width: 650px; padding: 6px 0 20px 0; text-align: left; }
.text .text_createdby p { font-size: 22px; text-align: center; color: #000; }
.text .text_createdby a { font-size: 13px; font-weight: bold; color: #ccc; text-decoration: underline; }
.text .text_createdby a:hover { text-decoration: none; color: #999; }
.embedcode p { font-size: 11px; padding: 4px 0px; line-height: 1.2em; }
.embedcode textarea { font-size: 11px; }
-->
</style>
</head>
<body>
<!-- saved from url=(0013)about:internet -->
<div class="global">
  <div class="top">&nbsp;</div>
  <div class="center">
    <div class="title">
      pictures
    </div>
    <div class="flash">
      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/...bs/flash/swflash.cab" width="1000" height="302" id="tech" align="middle" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" >
        <param name="movie" value="pictures.swf" />
        <param name="quality" value="high" />
        <param name="allowFullScreen" value="true" />
        <param name="wmode" value="transparent" />
        <param name="allowScriptAccess" value="always" />
        <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
        <param name="_flashhost" value="http://www.go2album.com" />
        <embed src="pictures.swf" width="1000" height="302" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
    </div>
    <div class="text">
     
    </div>
    <div class="embedcode">
      <p><strong>Tip:</strong> Upload all the published files to the same folder of your website, then copy and paste the "embed code" below to your webpage to embed this flash slide show on your website.</p>
      <p><strong>Embed Code:</strong></p>
      <form name="form1" method="post" action="">
        <textarea align="left" cols="88" rows="2" onMouseMove="this.select()">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/...bs/flash/swflash.cab" width="1000" height="302" id="tech" align="middle" quality="high"allowFullScreen="true" wmode="transparent" allowScriptAccess="always" >
  <param name="movie" value="pictures.swf" />
  <param name="quality" value="high" />
  <param name="allowFullScreen" value="true" />
  <param name="wmode" value="transparent" />
  <param name="allowScriptAccess" value="always" />
  <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
  <param name="_flashhost" value="http://www.go2album.com" />
  <embed src="pictures.swf" width="1000" height="302" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></textarea>
      </form>
    </div>
  </div>       
  <div class="footer">&nbsp;</div>
</div>
</body>
</html>
 

Install the program and click the right mouse button on "edit"





ross Team
ross Sep 18 '14
in the general.html file (master page folder) of your active theme. 

you need to comment out your header : 


<!-- 

{*print_var var=$imageControlValues*}

{if isset($imageControlValues.headerImage.src)}

<div style="background: url({$imageControlValues.headerImage.src}) no-repeat; height: {$imageControlValues.headerImage.height}px;"></div>

{else}

<div class="ow_header_pic"></div>

{/if} -->


then, paste your code under this line: <div class="ow_header">: 

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/...bs/flash/swflash.cab" width="1000" height="302" id="tech" align="middle" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always">    <param name="movie" value="pictures.swf" />    <param name="quality" value="high" />    <param name="allowFullScreen" value="true" />    <param name="wmode" value="transparent" />    <param name="allowScriptAccess" value="always" />    <param name="_flashcreator" value="http://www.photo-flash-maker.com" />    <param name="_flashhost" value="http://www.go2album.com" />    <embed src="pictures.swf" width="1000" height="302" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />  </object>


in the general.html file of your active theme. 


then upload your swf file to the server and make the exclusion for this file in htaccess. Read reply from Daisy here: http://www.oxwall.org/forum/topic/24780?page=1#post-111240

The Forum post is edited by ross Sep 18 '14