View previous topic :: View next topic |
Author |
Message |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Fri Jul 27, 2007 7:38 am Post subject: Insert Flash Image |
|
|
Hi all. This is a very general PHP question. Must admit i feel a little fooloish asking here but Abyss Web Server as always worked fine for me after initial set up. Now for my queery.
I am trying to insert a Shockwave Flash 100X700 into a PHP script. Can anyone give me any clues how to do this. I have tried various methods. Or could you point me in the right direction concerning this.
Many thanks. |
|
Back to top |
|
 |
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Fri Jul 27, 2007 5:24 pm Post subject: |
|
|
This is completely HTML. You should read about the object and embed tags. _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
 |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Sat Jul 28, 2007 10:48 am Post subject: Re Flash |
|
|
Hi, thanks guys. I did however do a search and found a little bit of code. Here is the code i used.
<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="somefilename.swf" width="550" height="400">
</embed>
</object>
I just added </center> at beginning and end to center.
Thanks though, il try the code you pointed to as well. Thanks. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Jul 31, 2007 1:38 pm Post subject: Re: Re Flash |
|
|
svankamon wrote: | Thanks though, il try the code you pointed to as well. Thanks. |
Your code is good but it's not going to work always and on all browsers (it is missing the object ids and some stuff that is required by some browsers in order to load the SWF plugin).
The best is to use the code suggested in the link we provided (it's by the way an article published by Adobe which is the current Flash/SWF publisher.) _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Tue Jul 31, 2007 8:08 pm Post subject: Re Flash Code |
|
|
Thanks a lot il try it tomorow and post here wether it works. Cheers |
|
Back to top |
|
 |
svankamon -
Joined: 01 Apr 2007 Posts: 148 Location: Chesterfield UK
|
Posted: Wed Aug 01, 2007 7:09 pm Post subject: Flash |
|
|
Thanks a lot guys it worked. I was concened cos had a problem with a similar flash/html code. However all is well. Cheers again.
svankamon |
|
Back to top |
|
 |
|