Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

flash file does not show up in php file

New Here ,
Feb 17, 2007 Feb 17, 2007

Copy link to clipboard

Copied

Hi,
A swf file as top banner of does not show up in php file,
every other page is OK, ( none dynamic )

I have installed a php directory script in a folder called YELLOW, and tried to replace my banner ( flash file) with the default banner ( gif file) of the directory.

but the flash file does not show up, I changed the link of flash to absolute link and it does not show up.
I have tried every possible linking that I could think of, but it seems linking is not the problem.

there are couple of files involved into showing the banner, as most dynamic web sites are.

index.php file of the directory does not have the banner code in it,
form the index file header.php is called, which is in the same folder as index.php file,

from header.php file theme.php file is called which is in a folder called PAGE,

PAGE folder is inside a folder called THEME, THEME folder is inside of the YELLoW folder.

and from theme.php file header.html file is called, which has the banner code in there,
here is all the code inside the header.html:

======================

<script src="../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<body>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="750">
<!--DWLayoutTable-->
<tr>
<td width="4" height="156"> </td>
<td width="760" valign="top"><script type="text/javascript">
AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','760',... ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height="156">
<param name="movie" value="flash/main.swf">
<param name="quality" value="high">
<embed src="flash/main.swf" quality="high" pluginspage=" http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="156"></embed>
</object>
</noscript></td>
<td width="4"> </td>
</tr>
</table>
<br>
$banner

=====================



appreciate your help.
thanks
TOPICS
Server side applications

Views

604
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 17, 2007 Feb 17, 2007

Copy link to clipboard

Copied

Your include files cannot contain <html>, <head>, or <body> tags if you want
to work with DW.

<script src="../../../Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<body>
--^^^^^

Also, did you upload that Scripts folder?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"manou" <webforumsuser@macromedia.com> wrote in message
news:er84ic$92i$1@forums.macromedia.com...
> Hi,
> A swf file as top banner of does not show up in php file,
> every other page is OK, ( none dynamic )
>
> I have installed a php directory script in a folder called YELLOW, and
> tried
> to replace my banner ( flash file) with the default banner ( gif file) of
> the
> directory.
>
> but the flash file does not show up, I changed the link of flash to
> absolute
> link and it does not show up.
> I have tried every possible linking that I could think of, but it seems
> linking is not the problem.
>
> there are couple of files involved into showing the banner, as most
> dynamic
> web sites are.
>
> index.php file of the directory does not have the banner code in it,
> form the index file header.php is called, which is in the same folder as
> index.php file,
>
> from header.php file theme.php file is called which is in a folder called
> PAGE,
>
> PAGE folder is inside a folder called THEME, THEME folder is inside of the
> YELLoW folder.
>
> and from theme.php file header.html file is called, which has the banner
> code
> in there,
> here is all the code inside the header.html:
>
> ======================
>
> <script src="../../../Scripts/AC_RunActiveContent.js"
> type="text/javascript"></script>
> <body>
> <div align="center">
> <table border="0" cellpadding="0" cellspacing="0" width="750">
> <!--DWLayoutTable-->
> <tr>
> <td width="4" height="156"> </td>
> <td width="760" valign="top"><script type="text/javascript">
> AC_FL_RunContent(
> 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
> version=7,0,19,0','width','760','height','156','src','flash/main','quality','hig
> h','pluginspage',' http://www.macromedia.com/go/getflashplayer','movie','flash/ma
> in' ); //end AC code
> </script>
> <noscript>
> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
> rsion=7,0,19,0" width="760" height="156">
> <param name="movie" value="flash/main.swf">
> <param name="quality" value="high">
> <embed src="flash/main.swf" quality="high"
> pluginspage=" http://www.macromedia.com/go/getflashplayer"
> type="application/x-shockwave-flash" width="760" height="156"></embed>
> </object>
> </noscript></td>
> <td width="4"> </td>
> </tr>
> </table>
> <br>
> $banner
>
> =====================
>
>
>
> appreciate your help.
> thanks
>


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 17, 2007 Feb 17, 2007

Copy link to clipboard

Copied

Thanks for the reply,
double checked the js file is there on the server,
and I took off body tag from the header.html page,
still not working.

thanks

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 18, 2007 Feb 18, 2007

Copy link to clipboard

Copied

Post a link to the page, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"manou" <webforumsuser@macromedia.com> wrote in message
news:er8eb3$jjo$1@forums.macromedia.com...
> Thanks for the reply,
> double checked the js file is there on the server,
> and I took off body tag from the header.html page,
> still not working.
>
> thanks


Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2007 Feb 18, 2007

Copy link to clipboard

Copied

thanks for the reply, here is the link:

http://www.leaf-link.net/yellow/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 18, 2007 Feb 18, 2007

Copy link to clipboard

Copied

manou wrote:
> thanks for the reply, here is the link:
>
> http://www.leaf-link.net/yellow/

browsing your page in FF shows several warnings regarding improper
values in styles properties and an illegal character error:

AC_FL_RunContent(
\'codebase\',\' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\',\'width\',\'7...
); //end AC code

why the single quotes are escaped, it was DW? and BTW, where is the BODY
tag?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2007 Feb 18, 2007

Copy link to clipboard

Copied

thanks for reply,
the body tag was in the header.html file,
since in the previous reply I read that include files cannot contain <html>, <head>, or <body> tags I removed the body tag from header.html file,
I will try to see if I can change little bit of style,
I did not mess with the script neither with style, the only thing I changed from the header.html file was a table that contains some links and gif image for the banner, I replace the table with the table from a sample file which I did in DW, that contains flash file. now that there are error in style I will try to find it,

thanks

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2007 Feb 18, 2007

Copy link to clipboard

Copied

LATEST
I could not find out why this error,
there some errors for span and others I don't think that is the problem for for not showing flash file,
I did made another insertion of flash file in a new document in a table in DW,
and replaced the table wit the existing one, no change,
well if DW code is not correct why it showed but elesewhere?

thanks

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines