Adding Flash in my header instead of jpf images

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   re: Adding Flash in my header instead of jpf images
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
You have to change it in TWO places. You missed it here: <param name="movie" value="logo.swf">

The \ in the code is because you have to escape the quotation marks as I explained earlier.



Back to top Reply with quote
#2   re: Adding Flash in my header instead of jpf images
sound
CZ Super Newbie
sound has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
Oh.. it needed the full path/url cool it's working, gets knocked of by the navigator though
Least it's working. You also said earlier about changing sizes for the banner to be bigger,
Is there a tutorial on that anywhere?
Well thanks for your time kelly icon_smile.gif



Back to top Reply with quote
#3   re: Adding Flash in my header instead of jpf images
DareDoo
CZ Newbie
DareDoo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 29, 2004
0.00 posts per day
Posts: 27
Points: 2,066
   
Hello, I read the above, and tried to get it, but mine is not working as well, can u look at my code and see if anything strikes you, I added the \ like u did, and when I saved it, they all went away. Here is the code, and thanks in advance. btw, I named the movie logo.swf


<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="202" height="31">
<param name="movie" value="http://www.rbrad4.com/home/themes/ChristmasV2/images/logo.swff">
<param name="quality" value="High">
<embed src="http://www.rbrad4.com/home/themes/ChristmasV2/images/logo.swff" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="202" height="31"></object>



Back to top Reply with quote
#4   re: Adding Flash in my header instead of jpf images
sound
CZ Super Newbie
sound has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
Hi,
This is what you're replacing first;

<img src=\"themes/Charcoal2/forums/images/logo.jpg\" alt=\"\" height=\"58\" width=\"349\" border=\"0\">

And you need \ in the end of both your logo.swf files, here's your object code;



<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="202" height="31">
<param name="movie" value="http://www.rbrad4.com/home/themes/ChristmasV2/images/logo.swff">
<param name="quality" value="High">
<embed src="http://www.rbrad4.com/home/themes/ChristmasV2/images/logo.swff" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="202" height="31"></object>


Try changing your links like this;

<param name="movie" value="http://www.rbrad4.com/home/themes/ChristmasV2/images/logo.swf\">

<embed src="http://www.rbrad4.com/home/themes/ChristmasV2/images/logo.swf\"

BTW you had logo.swff instead of .swf, in both your links



Back to top Reply with quote
#5   
rbrad4
CZ Newbie
rbrad4 has been a member for over 20 year's 20 Year Member
Gender: Male
Status: Offline
Joined: Dec 27, 2004
0.00 posts per day
Posts: 4
Points: 427
   
Got it, thanks for the help. Even tho the above says by, Daredoo, i was me before I signed up. So, thank you.



Back to top Reply with quote
#6   re: Adding Flash in my header instead of jpf images
sound
CZ Super Newbie
sound has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Nov 22, 2004
0.01 posts per day
Posts: 45
Points: 2,923
   
Good stuff! icon_smile.gif



Back to top Reply with quote
#7   re: Adding Flash in my header instead of jpf images
8ounty
CZ Newbie
8ounty has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Sep 27, 2005
0.00 posts per day
Posts: 2
Points: 71
   
I've just tried to do the same as the other guys here and add a flash banner to my site replacing the PHP-Nuke logo. Originally i replaced the logo.gif with my own static banner - i just overwrote the logo.gif with my banner - also named logo.gif.

I've been trying to use your steps here but to no avail. I'm using the 3D-Fantasy theme that came with PHP-Nuke 7.7 - the problem is that the image source file code that i need to replace with the flash html isn't in the theme.php file - it's in the header html file. But the second bit of code you say to overwrite isn't there.

This is what i have in the header html file:
<a href="index.html"><img src="themes/3D-Fantasy/images/logo.gif" border="0" alt="Welcome to $sitename" align="left"></a>

and this is my flash html:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<TITLE>logo</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="1000" HEIGHT="150" id="logo" ALIGN="">
<PARAM NAME=movie VALUE="logo.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="logo.swf" loop=false quality=high bgcolor=#FFFFFF WIDTH="1000" HEIGHT="150" NAME="logo" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>


Plz help - I'm a PHP noob, and have very little experience of coding!



Back to top Reply with quote
#8   re: Adding Flash in my header instead of jpf images
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Replace this:

<a href="index.html"><img src="themes/3D-Fantasy/images/logo.gif" border="0" alt="Welcome to $sitename" align="left"></a>


With this:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="1000" HEIGHT="150" id="logo" ALIGN="">
<PARAM NAME=movie VALUE="logo.swf">
<PARAM NAME=loop VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="logo.swf" loop=false quality=high bgcolor=#FFFFFF WIDTH="1000" HEIGHT="150" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>


You will need to change the path "logo.swf" to point to the folder you have uploaded the .swf file to. It need to be changed in two places.


Back to top Reply with quote
#9   re: Adding Flash in my header instead of jpf images
8ounty
CZ Newbie
8ounty has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Sep 27, 2005
0.00 posts per day
Posts: 2
Points: 71
   
Hey mate,

Thx for the help - I've swapped the codes like you said above - but i can't find the second place anywhere that also needs changing. I've changed the path in the header.html file. There's absolutely nothing in the theme.php file.

I'm so close to falling out with this it's unbelievable!!!



Back to top Reply with quote
#10   re: Adding Flash in my header instead of jpf images
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Sorry I didn't make it clear. There are two places in the code above that you need to change "logo.swf" to the path to your Flash movie.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum