Page 1 of 1

Flash Textfield as "content"

Posted: Tue Feb 10, 2009 8:45 pm
by tcdk
Hi

I want a flash textField to show my content.

I've got it working, but can't get it to work when implanting in my layout/scheme.

How should I do this?

Re: Flash Textfield as "content"

Posted: Tue Feb 10, 2009 9:08 pm
by nhaack
What CMSMS version? What worked? What didn't? Pretty hard to guess your problem from your post.

Best
Nils

Re: Flash Textfield as "content"

Posted: Tue Feb 10, 2009 9:44 pm
by tcdk
V 1.5.2

Well, nothing worked.

I tried to replace the {content} tag with this code:

Code: Select all

<__script__ language="javascript">
	if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '780',
			'height', '540',
			'src', 'scroll_tekst',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'scroll_tekst',
			'bgcolor', '#ffffff',
			'name', 'scroll_tekst',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', 'scroll_tekst',
			'salign', ''
			); //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=9,0,0,0" width="780" height="540" id="scroll_tekst" align="middle">
	<param name="allowScriptAccess" value="sameDomain" />
	<param name="allowFullScreen" value="false" />
	<param name="movie" value="scroll_tekst.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />	<embed src="scroll_tekst.swf" quality="high" bgcolor="#ffffff" width="780" height="540" name="scroll_tekst" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
	</object>
</noscript>
with this code in the header

Code: Select all

<__script__ language="javascript">AC_FL_RunContent = 0;</__script>
<__script__ src="AC_RunActiveContent.js" language="javascript"></__script>
Thats only give a lot of faults.

Re: Flash Textfield as "content"

Posted: Tue Feb 10, 2009 10:04 pm
by tcdk
Now it sort of works.

I tried to cut it down to only this code:

Code: Select all

well, embed.. guess I can't write that here?
Now shows the flash, and the text from my textfield_content.php file ..

Now I only need to get in the content from CMS made simple. A simple {content} tag dosen't work there.