View previous topic :: View next topic |
Author |
Message |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Sun Aug 10, 2003 4:42 pm Post subject: Flash logo in php page???? |
|
|
Does anybody know of a simple way to insert a flash logo into a php page??
Any help would be greatly appreciated.. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Aug 11, 2003 11:59 am Post subject: Re: Flash logo in php page???? |
|
|
Moxxnixx wrote: | Does anybody know of a simple way to insert a flash logo into a php page??
Any help would be greatly appreciated.. |
Do you mean that you have the Flash logo file and want to insert it or that you want to create the Flash logo by a PHP script? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Aug 11, 2003 3:31 pm Post subject: |
|
|
I have the flash logo and I want to insert it. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Aug 12, 2003 2:40 pm Post subject: |
|
|
Moxxnixx wrote: | I have the flash logo and I want to insert it. |
Insert it as you do when inserting it in a regular HTML page. Use the same HTML code.
The following example assumes that your logo is mylogo.swf:
Code: |
<HTML>
<BODY>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=5,0,0,0" width=500
height=400>
<param name="movie" value="mylogo.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#000000">
<embed src="savior.swf" quality="high" bgcolor="#000000" width=550
height="400" type="application/x-shockwave-flash"
pluginspace="http://www.macromedia.com/shockwave/download/
index.cgi?P1_Prod_Version=ShockwaveFlash">
</embed>
</object>
<?php
echo "Today is ";
echo date("l dS of F Y h:i:s A");
?>
</BODY>
</HTML>
|
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Fri Aug 15, 2003 3:21 pm Post subject: I found the problem... |
|
|
Thanx for the reply aprelium, but I found my solution:
I inserted my flashfile as a variable into the header of my index.php like this:
Code: | $flashheader = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0' width='546' height='50'>
<param name='movie' value='".THEME."myfile.swf'>
<param name='quality' value='high'>
<embed name='movie1' src='".THEME."myfile.swf' pluginspage='http://www.macromedia.com/shockwave/download/' type='application/x-shockwave-flash' width='546' height='50' ></embed></object>
"; | Then, all I have to do is insert this where-ever I want the logo to appear.
I also forgot about the double quotation (") and single quotation (') difference in php coding.
You can see the result on my site. (in my sig below) |
|
Back to top |
|
 |
|