Insert Flash Image

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
svankamon
-


Joined: 01 Apr 2007
Posts: 148
Location: Chesterfield UK

PostPosted: Fri Jul 27, 2007 7:38 am    Post subject: Insert Flash Image Reply with quote

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 View user's profile Send private message Send e-mail
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Fri Jul 27, 2007 5:24 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jul 27, 2007 11:51 pm    Post subject: Re: Insert Flash Image Reply with quote

svankamon,

To include a Flash object, your page needs to contain some HTML code (no need for PHP unless some parts of the output need to be changed dynamically). A sample code is available in http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_4150&sliceId=2 .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
svankamon
-


Joined: 01 Apr 2007
Posts: 148
Location: Chesterfield UK

PostPosted: Sat Jul 28, 2007 10:48 am    Post subject: Re Flash Reply with quote

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 View user's profile Send private message Send e-mail
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Jul 31, 2007 1:38 pm    Post subject: Re: Re Flash Reply with quote

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 View user's profile Send private message Send e-mail
svankamon
-


Joined: 01 Apr 2007
Posts: 148
Location: Chesterfield UK

PostPosted: Tue Jul 31, 2007 8:08 pm    Post subject: Re Flash Code Reply with quote

Thanks a lot il try it tomorow and post here wether it works. Cheers
Back to top View user's profile Send private message Send e-mail
svankamon
-


Joined: 01 Apr 2007
Posts: 148
Location: Chesterfield UK

PostPosted: Wed Aug 01, 2007 7:09 pm    Post subject: Flash Reply with quote

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 View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
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


Powered by phpBB phpBB Group