flash integration crazyness...

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
firfelin

flash integration crazyness...

Post by firfelin »

Hi,

I have a problem that have driven me completely mad all day long...
I just cant see what could be wrong, so any help would be really appreciated.

Sorry for my english, I'll try to do my best to explain as clearly as possible:

I have a simple easy swf that loads images through an xml file (basically just the names of the images) and make them continuously scroll.

I made a folder with all the images, the xml file and the swf

Pure single swf works fine, you can see it here (AS3, flashplayer 9 required)
http://mayorbeusch.ch/cms/uploads/images/projets/Presinge/LoopSansFlashVar.swf

Integrated "by hands" with swfobject in a simple stupid html page works also perfectly:
http://www.mayorbeusch.ch/cms/uploads/images/projets/Presinge/LoopSansFlashVar.html

But when i try to put the same code into my cmsms template, something seems to broke:
http://www.mayorbeusch.ch/cms/news/2/62

yeaah the big blank space between the header and the text should not be blank...

the swf is here, but it seems unable to find the images path...

why?

Any idea?

Thanks in advance for your help and advices :)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: flash integration crazyness...

Post by Dr.CSS »

You mean this?...



Alternative content




If so what does it say in the template?...
firfelin

Re: flash integration crazyness...

Post by firfelin »

no... this is what you see when you dont have the flashplayer updated


here is my template...

Code: Select all

<!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" xml:lang="fr" >

<head>
{metadata}
{stylesheet}
{capture assign='captured_content'}{content}{/capture}
<title>{sitename} || {title}</title>

 <__script__ type="text/javascript" src="uploads/swfobject.js"></__script>

<__script__ type="text/javascript">
swfobject.embedSWF("uploads/images/projets/Presinge/LoopSansFlashVar.swf", "bandeImages", "100%", "286", "9.0.115");
</__script>

</head>

</__body>

<!-- start conteneur principal -->
<div id="conteneur">

<!-- start header -->
<div id="header_base">
	<div id="header_image" style="background:url(uploads/images/projets/{$dossier}/header.jpg) repeat-x">

	<h1>{cms_selflink dir="start" imageonly=1 image="uploads/images/template/mb_logo_blanc.png" alt="logotype mayor+beusch" title="retour à la page d'accueil"  }</h1>
		
		<!-- start menu principal -->
		<div id="menu">
			{menu number_of_levels="1"}
		</div>
		<!-- end menu principal -->
		
		<!-- start menu secondaire -->
		<div id="sous_menu">
			{menu start_level="2"}
		</div>
		<!-- end menu secondaire -->
	</div>
</div>
<!-- end header -->

<!-- start bande images défilantes -->
	<div id="bandeImages">
<p>Alternative content</p>

	</div>
<!-- end bande images défilantes -->

<!-- start contenu -->
	<div id="texte_projet">
		{$captured_content}
	</div>
<!-- end contenu -->

<!-- end conteneur principal -->
</div>

<__body>
</__html>
Locked

Return to “Layout and Design (CSS & HTML)”