1
Kainaij
Need assistance inserting flash header into theme...
  • 2007/8/17 19:58

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


The site in question:
http://kainaistudies.com

The header that I want to display:
http://kainaistudies.com/themes/blueK/images/kainai.swf

The code I have from theme.html:

<body>
<
table width=100% class="toptable" cellpadding=0 cellspacing=0>
 <
tr id="header">
      <
td align="center"><p><a href="<{$xoops_url}>/">
        <
script type="text/javascript">
AC_FL_RunContent'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','766','height','263','src','<{$xoops_imageurl}>images/kainai','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','<{$xoops_imageurl}>images/kainai' ); //end AC code
        
script>
        <
noscript>
        <
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="766" height="263">
          <
param name="movie" value="<{$xoops_imageurl}>images/kainai.swf" />
          <
param name="quality" value="high" />
          <
embed src="<{$xoops_imageurl}>images/kainai.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="766" height="263">embed>
        object>
        noscript>
          a>p>td>
  tr>
table>


I'm an idiot I know but it's been awhile and this is perplexing me.

2
aph3x
Re: Need assistance inserting flash header into theme...
  • 2007/8/17 22:17

  • aph3x

  • Theme Designer

  • Posts: 834

  • Since: 2004/12/26


<object
        classid
="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0"
        
id="kainai"
        
width="766" height="263"
      
>
        <
param name="movie" value="kainaistudies.com/themes/blueK/images/kainai.swf">
        <
param name="bgcolor" value="#999999">
        <
param name="quality" value="high">
        <
param name="allowscriptaccess" value="samedomain">
        <
embed
          type
="application/x-shockwave-flash"
          
pluginspage="http://www.macromedia.com/go/getflashplayer"
          
name="pics"
          
width="766" height="263"
          
src="kainaistudies.com/themes/blueK/images/kainai.swf"
          
bgcolor="#999999"
          
quality="high"
          
swliveconnect="true"
          
allowscriptaccess="samedomain"
        
>
          <
noembed>
          noembed>
        embed>
      object>


that should work ...just see the appropriate color codes for its background and replace that whole url with smarty for nicer code
Everything I'm not made me everything I am
The Themes

3
pod
Re: Need assistance inserting flash header into theme...
  • 2007/8/18 0:21

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19


The code you have there in your original post should work. Check to be sure you have uploaded AC_RunActiveContent.js to your themes directory & have linked to it in the head of your theme like so:

<script src="<{$xoops_imageurl}>AC_RunActiveContent.js" type="text/javascript">script>


This ensures cross-browser compatibility & optimal display of your Flash file.
Don't have AC_RunActiveContent.js? You can get it in the MyXoops Downloads section by downloading one of our Flash menu addons - it's in the /scripts/ folder.

Hope this helps!
whttp://www.myxoops.com - MyXoops Is Your XOOPS!

4
Kainaij
Re: Need assistance inserting flash header into theme...
  • 2007/8/18 21:44

  • Kainaij

  • Quite a regular

  • Posts: 256

  • Since: 2004/10/5


Thank you both. You both helped me solve my issue. It came down to a capitalization in my address to the script that pod spoke of.

Whew.

Login

Who's Online

261 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 261


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits