 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
harobikes34
Joined: 21 Jul 2009
Posts: 3
|
| Posted: Tue Jul 21, 2009 7:04 pm .SWF File will not play in .php file! |
|
|
I CANT GET IT TO PLAY! i have the Zen Flash Gallery and everything i have tried will not work. The site i am trying to embed it in is designed in php. My code looks right but man it just wont play. It gives me an error saying that my .swf is trying to communicate with my .php and i cant do that. Here is my code. After i get the error the only thing that is their is the size of the flash in black. PLEASE HELP ME I HAVE SEARCHED FOR HOURS!
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" name="Flash Gallery"
width="550" height="400" id="Flash Gallery">
<param name="scale" value="exactfit">
<param name="bgcolor" value="#000000">
<param name="movie" value="flash gallery/flashgallery.swf">
<param name="flashVars" value="flash gallery/gallery.xml">
<param name="LOOP" value="false">
<embed src="flash gallery/flashgallery.swf" width="550" height="400" loop="false" name="Flash Gallery" flashvars="flash gallery/gallery.xml" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="exactfit" bgcolor="#000000"></embed>
</object> |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4289
Location: MS
|
| Posted: Tue Jul 21, 2009 7:28 pm |
|
|
This doesn't have anything to do with the problem, but can cause browser problems: Using compound file names is a big no-no. I would change this, "flash gallery", to something else like:
flashgallery
flash_gallery
flash_gallery
Can't test your code as the file path is relative. |
|
|
harobikes34
Joined: 21 Jul 2009
Posts: 3
|
| Posted: Tue Jul 21, 2009 8:24 pm |
|
|
PayneLess Designs wrote: This doesn't have anything to do with the problem, but can cause browser problems: Using compound file names is a big no-no. I would change this, "flash gallery", to something else like:
flashgallery
flash_gallery
flash_gallery
Can't test your code as the file path is relative. Thanks but i am really stuck trying to figure this out!!!!! |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4289
Location: MS
|
| Posted: Tue Jul 21, 2009 8:38 pm |
|
|
| Well, you still didn't give full path to media file so anyone can check function of code in their own browser. Nor, did you even make a change to file name???? |
|
|
harobikes34
Joined: 21 Jul 2009
Posts: 3
|
| Posted: Wed Jul 22, 2009 1:49 am |
|
|
| PayneLess Designs wrote: Well, you still didn't give full path to media file so anyone can check function of code in their own browser. Nor, did you even make a change to file name???? You lost me here, my .swf is on my c drive and with out those files i don't think it could help to much . |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4289
Location: MS
|
| Posted: Wed Jul 22, 2009 5:28 am |
|
|
That piece of info would have been helpful at the beginning. True. If still on your computer then I can't check the media player function.
But, you did say "site i am trying to embed it in is designed in php" so I took it that all files were online. Are they or not? Running php files locally will not work unless you have set your computer up to run php files. |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|