1
jdseymour
Embed a flash logo in theme

I made a flash logo for my site. I exported as swf with html, copied the object code block from the created html file and pasted it into the proper place in theme.html.

The flash shows up in the proper area of my theme, but it is blank with no animation. I there some XOOPS code suppose to go with the object tag?

This is the code I pasted in the logo table:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
id="logo" width="530" height="80">
<param name="movie" value="logo.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="530" height="80"
name="logo" src="logo.swf"
bgcolor="#000000" quality="high"
swLiveConnect="true" allowScriptAccess="samedomain"
></embed>
</object>

TIA

2
Venezia
Re: Embed a flash logo in theme
  • 2004/11/26 2:43

  • Venezia

  • Just popping in

  • Posts: 36

  • Since: 2003/6/24


Try this:

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
id="logo" width="530" height="80">
<param name="movie" value="http://www.warpigw2.com/themes/fc_clan_blue/logo.swf">
<param name="bgcolor" value="#000000">
<param name="quality" value="high">
<param name="allowscriptaccess" value="samedomain">
<embed type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="530" height="80"swLiveConnect="true" allowScriptAccess="samedomain"
></embed>
</object>

3
jdseymour
Re: Embed a flash logo in theme

Thanks, didn't work. Showed all white blank block.

This is a little more problem than I thought.

4
astonstreet
Re: Embed a flash logo in theme

Are you absolutely positive that it is pointing to the .swf?

<param name="movie" value="????/logo.swf">


Thats first thing I would make sure of.

If its in your theme folder I would just use:

<{$xoops_imageurl}>/logo.swf

5
jdseymour
Re: Embed a flash logo in theme

Seems to be pointing fine, flash shows up in the right place, just movie does not load.

I will wait awhile before I pull my hair out to try again.

The Xoops_imageurl I think I had pointing to the object itself. I will work that route next. Thanks.

BTW, tried to go to astonthemes.com, got only a header and blank page.

6
astonstreet
Re: Embed a flash logo in theme

Wow, thanks for pointing that out... was only In I.E... I was trying a php script in theme and it was stopping page from loading in I.E :S

7
Venezia
Re: Embed a flash logo in theme
  • 2004/11/26 4:09

  • Venezia

  • Just popping in

  • Posts: 36

  • Since: 2003/6/24


That code I posted (with hard coded url) brings up your scanning lighthouse movie just fine when I paste it into my html editor.

That may have been a typo by astonstreet but there should be no dir slash after <{$xoops_imageurl}>

It should read

<{$xoops_imageurl}>logo.swf

If that doesn't work then your browser or your server or your ISP is blocking that content type. Which is probably unlikely.

8
jdseymour
Re: Embed a flash logo in theme

Thanks for the information. I have used flash before with this host, so I know it can be done. I can see the lighthouse in my editor also, just not on my page.

Will be trying again later.

9
Venezia
Re: Embed a flash logo in theme
  • 2004/11/26 5:46

  • Venezia

  • Just popping in

  • Posts: 36

  • Since: 2003/6/24


FWIW:

I just stuck the hard coded url version onto a XOOPS site and it didn't show up either. But I'm using Opera Browser.

So I swapped over to MSIE and hey presto it worked on the live site.

Hope that get's you started on a lead somewhere.

10
jpco_122122
Re: Embed a flash logo in theme

I tried also and I'm very successful with inserting the flash on XOOPS. But I encountered a problem the flash that I had inserted is a little bit lower than the usual I expect. Can anyone help me regarding this? Here's the code:

<OBJECT id=flash codeBase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0 height=200 width=612 align=top classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000><PARAM NAME="_cx" VALUE="16140"><PARAM NAME="_cy" VALUE="5292"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="../../../../sample/flash.swf"><PARAM NAME="Src" VALUE="../../../../sample/flash.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="sameDomain"><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE="FFFFFF"><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1">
<embed src="../../../../sample/flash.swf" quality="high" bgcolor="#ffffff" width="612" height="200" name="flash" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></OBJECT>

Login

Who's Online

206 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

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

Latest GitHub Commits