banner rotator with text

21 posts by 3 authors in: Forums > CMS Builder
Last Post: January 21, 2010   (RSS)

By Chris - January 14, 2010

Oh, I'm only guessing that you'd have that in your page based on the discussion at http://activeden.net/item/banner-slideshow-with-smooth-text-animation/discussion/46008 .

Can you please post the source code for the page you're embedding the SWF in?
All the best,
Chris

Re: [chris] banner rotator with text

By drewh01 - January 14, 2010

here it is:

<script type="text/javascript" src="swfobject2.js"></script>

<div id="flashcontent">
<script type="text/javascript">
var so = new SWFObject("banner.swf", "mymovie", "607", "282", "9");
so.addParam("menu", "false");
so.addVariable("dataPath", "banner_asset/data.xml.php");
so.write("flashcontent");
</script>
</div>

Also, maybe this is because I cannot get the XML file to output like it should?

Here is my PHP XML file:
http://chambermusicsedona.com/banner_asset/data.xml.php

Here is their default XML file:
http://chambermusicsedona.com/banner_asset/data.xml

By Chris - January 14, 2010 - edited: January 14, 2010

Oh, you've already told it where to find your xml.php file!

You'll need to add CDATA tags around your HTML content so that it's not misinterpreted as XML:

<text font="2" leftMargin="" ><![CDATA[<b><font size="25" ><?php echo $upload['info1'] ?></font></b>]]></text>
<text font="1" leftMargin="" ><![CDATA[<font size="20" color="#CFFAFC" ><?php echo $upload['info2'] ?>]]></text>

Does that help?
All the best,
Chris

Re: [chris] banner rotator with text

By drewh01 - January 14, 2010 - edited: January 14, 2010

yep, that did it. Originally I removed that piece of code while I was troubleshooting as it was causing errors. Now that I look at it again - I think I left out a "]" when I was modifying it originally.

Thanks - I think I can get it from here!

By drewh01 - January 14, 2010 - edited: January 14, 2010

ok, well I can get this to work perfectly on Firefox/Safari for Mac.

I can get this to work perfectly on Firefox/Safari for Mac.

For Firefox/PC & IE 6/PC the text appears but the images do not display.

http://chambermusicsedona.com/index.php

Any ideas?

By Chris - January 14, 2010 - edited: January 14, 2010

Hi drewh01,

Both the text and images display fine for me on Firefox 3.5.7 / PC. Is the problem local to only one PC? Do you have a HOSTS file or a funny debug flash player that might be causing issues? Maybe try some different computers so you can narrow down what the possibilities could be.

P.S. Looks great!
All the best,
Chris

Re: [chris] banner rotator with text

By drewh01 - January 14, 2010

ok, thanks - does IE work as well?

By Chris - January 14, 2010

IE, Chrome, and Safari all work for me on my PC.
All the best,
Chris

Re: [chris] banner rotator with text

By drewh01 - January 14, 2010

ok, thanks - must be on my end as the developer is not having an issue either