PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1848
Number of posts: 5016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Run a swf file located in the local computer using php Posted by Mehanathen on 18 Aug 2006 at 2:57 AM
Hi All,
I am having an swf file in the local computer. I need to run the swf using php ( php file located in server).

I am using the following code

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
WIDTH="550" HEIGHT="400" id="myMovieName">
<PARAM NAME=movie VALUE="ControllingThePencilTool-L2.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="C:/Registration/Photoshop/main/flash/ControllingThePencilTool-L2.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HE\
IGHT="400"
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

The file goes on processing and it doesnt give any output

Thanks and Regards
N.Mehanathen



Report
Re: Run a swf file located in the local computer using php Posted by IDK on 18 Aug 2006 at 1:13 PM
: Hi All,
: I am having an swf file in the local computer. I need to run the swf using php ( php file located in server).
:
: I am using the following code
:
: <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
: codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
: WIDTH="550" HEIGHT="400" id="myMovieName">
: <PARAM NAME=movie VALUE="ControllingThePencilTool-L2.swf">
: <PARAM NAME=quality VALUE=high>
: <PARAM NAME=bgcolor VALUE=#FFFFFF>
: <EMBED src="C:/Registration/Photoshop/main/flash/ControllingThePencilTool-L2.swf" quality=high bgcolor=#FFFFFF WIDTH="550" HE\
: IGHT="400"
: NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"
: PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
: </EMBED>
: </OBJECT>
:
: The file goes on processing and it doesnt give any output
:
: Thanks and Regards
: N.Mehanathen
:
:
:
:

I would recomend 'compiling' the swf file again, and at the same time output HTLM that works...

I would also recomend that you learned debugging...
In this example, try to create a HTML, with the SWF code, and see if it works, if it doesn't you know it doesn't, but then you don't have to think about that PHP stuff...

I was a little rude here, but if you didn't think about it, then you should learn it, but if did then I'm sorry



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.