1
voddie
Using Flash
  • 2004/4/16 11:53

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi all

Is there anyway that i could play a flash movie in a custom block?

If so, how do you go about it please.

Thanks in advance

voddie

2
davidl2
Re: Using Flash
  • 2004/4/16 12:15

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


You should be able to embed it in a standard XOOPS block - just paste the relevent code and make sure html is enabled....

Depends how big it is really.

(I'm just going to experiment doing this - as it's given me an idea for one of my sites :))

3
rabideau
Re: Using Flash
  • 2004/4/16 12:31

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


All you need to do is place standard html code in your block (or theme.html) depending upon how and where you'd like the flash to appear (check out my sites to see an example).

http://eirenicon.org

Remember only use the html code that calls for the flash movie. You can not use header or body tag html... see below example.

Quote:

<html>
<!-- Generated by AceHTML Freewarehttp://freeware.acehtml.com -->
<!-- Creation date: 4/16/2004 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="linux@eirenicon.org">
<meta name="generator" content="AceHTML 5 Freeware">
</head>
<body>


</body>
</html>




When you're done your block should look something like this:

Quote:

<div id="quickmenu"><object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="194" height="117" align="middle" id="QuickSiteLink"> <param
name="Movie" value="http://eirenicon.org/Menus/QuickSiteLink.swf"><param
name="loop" value="false"> <param name="wmode" value="transparent">
<embed src="http://eirenicon.org/Menus/QuickSiteLink.swf"
width="194" height="117" align="center" swliveconnect="true"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" loop="FALSE" wmode="transparent"
name="QuickSiteLink"></object> </div>


Remember to set the block properties correctly to appear on the desired pages and to your desired Groups.

Have fun!

4
voddie
Re: Using Flash
  • 2004/4/16 13:04

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hey Rabideau,

Thanks for the quick reply!

I have it working now!.....I had tried to include the headers.....tut, tut....should know better

please view

www.sheffbiz.com

Cheers again

voddie

5
davidl2
Re: Using Flash
  • 2004/4/16 13:06

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Very neat indeed

Login

Who's Online

133 user(s) are online (100 user(s) are browsing Support Forums)


Members: 0


Guests: 133


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