PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Flash in Dreamweaver site AC_RunActiveContent.jsproblem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Flash in Dreamweaver site AC_RunActiveContent.jsproblem

Réponse
 
LinkBack Outils de la discussion
Vieux 01/06/2008, 03h08   #1
webgirlrexburg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Flash in Dreamweaver site AC_RunActiveContent.jsproblem

I have a site created at www.backtothebasics.net. I have Flash banners running
at the tops of each page. The home page works, as does all of the main
category pages (ie Sprouting, Gardening, etc). However, when you click
further, to an article within a category, the Flash banner just shows up as a
blank white box. Each page has the same code on it-the script call in the head
"<script src="AC_RunActiveContent.js" type="text/javascript"></script>", and
then the code within the page. The only difference is that the article pages
are one more level down in the folder structure, so the head code reads
Scripts/AC_RunActiveContent.js on the home page, ../Scripts/ on the category
pages, and then ../../Scripts/ on the newsletter article pages. I have tried
taking out all AC references, as well as putting the js script in the same
folder and adjusting the head code accordingly, and none of these things seems
to work. Any ideas on what I need to do to fix this?

  Réponse avec citation
Vieux 01/06/2008, 12h45   #2
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.js problem

Make the link to the SWF file root relative.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"webgirlrexburg" <webforumsuser@macromedia.com> wrote in message
news:g1t0am$2tq$1@forums.macromedia.com...
>I have a site created at www.backtothebasics.net. I have Flash banners
>running
> at the tops of each page. The home page works, as does all of the main
> category pages (ie Sprouting, Gardening, etc). However, when you click
> further, to an article within a category, the Flash banner just shows up
> as a
> blank white box. Each page has the same code on it-the script call in the
> head
> "<script src="AC_RunActiveContent.js" type="text/javascript"></script>",
> and
> then the code within the page. The only difference is that the article
> pages
> are one more level down in the folder structure, so the head code reads
> Scripts/AC_RunActiveContent.js on the home page, ../Scripts/ on the
> category
> pages, and then ../../Scripts/ on the newsletter article pages. I have
> tried
> taking out all AC references, as well as putting the js script in the same
> folder and adjusting the head code accordingly, and none of these things
> seems
> to work. Any ideas on what I need to do to fix this?
>


  Réponse avec citation
Vieux 02/06/2008, 18h49   #3
webgirlrexburg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.jsproblem

I tried making the link root relative, and did on the JS file as well, and neither of those worked. Any other ideas?
  Réponse avec citation
Vieux 02/06/2008, 19h15   #4
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.js problem

Let's see your code, please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"webgirlrexburg" <webforumsuser@macromedia.com> wrote in message
news:g21bqf$m9o$1@forums.macromedia.com...
>I tried making the link root relative, and did on the JS file as well, and
>neither of those worked. Any other ideas?


  Réponse avec citation
Vieux 02/06/2008, 21h23   #5
webgirlrexburg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.jsproblem

This is the portion in the <head>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin
template="/Templates/dehydrating_short.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Back to the Basics : Benefits of Dehydrating Article Page 1</title>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" -->
<link href="../../print.css" rel="stylesheet" type="text/css" media="print" />
<script src="http://www.backtothebasics.net/Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<!-- InstanceEndEditable -->

<link rel="stylesheet" type="text/css" href="../../theme.css" />
<script type="text/javascript">


This is the body portion:
<table width="820" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="150" valign="middle"><img src="../../images/top_left.gif"
width="160" height="180" /></td>
<td width="670" valign="middle">
<script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=9,0,28,0','width','660','height','180','sr c','../flash/Dehydrateing_Bann
er','quality','high','pluginspage','http://www.adobe.com/shockwave/download/down
load.cgi?P1_Prod_Version=ShockwaveFlash','movie',' ../flash/Dehydrateing_Banner'
); //end AC code
</script><noscript><object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=9,0,28,0" width="660" height="180">
<param name="movie"
value="http://www.backtothebasics.net/flash/Dehydrateing_Banner.swf" />
<param name="quality" value="high" />
<embed src="../../flash/Dehydrateing_Banner.swf" quality="high"
pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
n=ShockwaveFlash" type="application/x-shockwave-flash" width="660"
height="180"></embed>
</object></noscript></td>
</tr>
</table>

The paths to the script and flash files are both correct.

Here is the code on a page that is working correctly: The only difference is
that this page is located at root/dehydrating/ and the one that is not working
is at root/dehydrating/articles/.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin
template="/Templates/main_page.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Back to the Basics : Dehydrating Main Page</title>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="head" -->

<script src="../Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<!-- InstanceEndEditable -->
<script src="../Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../theme.css" />
<script type="text/javascript">


And the page code:

<table width="820" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="150" valign="middle"><img src="../images/top_left.gif"
width="160" height="180" /></td>
<td width="670" valign="middle"><script type="text/javascript">
AC_FL_RunContent(
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=9,0,28,0','width','660','height','180','ti tle','Dehydrating Flash
Banner','src','../flash/Dehydrateing_Banner','quality','high','pluginspage ','htt
p://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash
','movie','../flash/Dehydrateing_Banner' ); //end AC code
</script><noscript><object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=9,0,28,0" width="660" height="180" title="Dehydrating Flash Banner">
<param name="movie" value="../flash/Dehydrateing_Banner.swf" />
<param name="quality" value="high" />
<embed src="../flash/Dehydrateing_Banner.swf" quality="high"
pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
n=ShockwaveFlash" type="application/x-shockwave-flash" width="660"
height="180"></embed>
</object></noscript></noscript></td>
</tr>
</table>

Thanks!

  Réponse avec citation
Vieux 02/06/2008, 21h25   #6
webgirlrexburg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.jsproblem

I also tried putting both the Flash and JS files in the same folder as the page and changing the reference accordingly, but that still doesn't work.
  Réponse avec citation
Vieux 02/06/2008, 22h19   #7
Murray *ACE*
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.js problem

Please post a link to the LIVE page, so we can test it.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"webgirlrexburg" <webforumsuser@macromedia.com> wrote in message
news:g21kv3$2r7$1@forums.macromedia.com...
>I also tried putting both the Flash and JS files in the same folder as the
>page and changing the reference accordingly, but that still doesn't work.


  Réponse avec citation
Vieux 02/06/2008, 23h20   #8
webgirlrexburg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Flash in Dreamweaver site AC_RunActiveContent.jsproblem

This page works: http://www.backtothebasics.net/dehydrating/home.html

This page doesn't:
http://www.backtothebasics.net/dehyd...ydrating1.html

Right now the non-working page references the JS and Flash files in a relative
folder-the last fix that I tried.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h05.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 1,09448 seconds with 16 queries