logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 07-04-2008, 11:11 AM   #1
pramod
 
Join Date: Jul 2008
Posts: 3
Arrow Help: Playing a SWF file in php

Please help me to understand how a swf file (flash animation) can be played in a php page.

I have tried the simple "Insert > Media > Flash" way to insert in Dreamweaver.
The flash file plays in my localhost server but does not play after uploading to the webhost server.

Please help !
pramod is offline   Reply With Quote
Old 07-04-2008, 11:53 AM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

post your code please
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 07-07-2008, 04:16 PM   #3
pramod
 
Join Date: Jul 2008
Posts: 3
Default

Thanks ! Please check the code below.

-===================================-

<td width="113" height="45" colspan="2"><div align="center">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','250','heigh t','40','title','Clients','src','clients','quality ','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','clients' ); //end AC code
</script><noscript><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="250" height="40" title="Clients">
<param name="movie" value="clients.swf">
<param name="quality" value="high">
<embed src="clients.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="250" height="40"></embed>
</object>
</noscript></div></td>

-================================================-
pramod is offline   Reply With Quote
Old 07-07-2008, 05:29 PM   #4
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

this has nothing to do with PHP but something is causing problems

i have downloaded your flash file and i get the same results

i dont know

i am going to move this post into the flash forum as i think its a flash issue
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Old 07-07-2008, 10:36 PM   #5
ramandeep
 
Join Date: Sep 2005
Location: Birmingham ,UK
Posts: 407
Default

Pramod,
Check few things
- On server, is ur php page and clients.swf file in same folder?
(it should be as you are giving relative path)
- Try giving absolute path like
src="http://www.yourdomain.com/clients.swf"

If not giving us the link to the file on server please.
__________________
Love: Ecommerce, SEO, PPC, Social Media & Analytics
Work at Design Agency in Birmingham
ramandeep is offline   Reply With Quote
Old 07-09-2008, 10:55 AM   #6
pramod
 
Join Date: Jul 2008
Posts: 3
Default

thanks davidj, Ok if yu\ou feel this should be moved to Flash thread, then let us see if someone helps me in this regard at the flash thread.

and many thanks ramandeep, i will surely try with your suggestion of using absolute path and post the observations here. please keep checking ..
pramod is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:52 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com