PDA


View Full Version : Flash


wii
07-14-2008, 02:57 PM
I´m trying to include some Flash into a module I created, I know the code works, because I can include it in a simple HTML file not VBadvanced, but VBadvanced seems to mess up the code:


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

<script type="text/javascript" >

AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','425','height','350','src','http://www.youtube.com/v/en3CUhhEwOU','quality','high','wmode','transparent','name','youtube','allowscrip taccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.youtube.com/v/en3CUhhEwOU' );</script>


Any thoughts ?

Brian
07-14-2008, 03:31 PM
Add the code to a new Template Module.

KW802
07-14-2008, 03:32 PM
... and make sure your file paths (eg: your JS files) are fully qualified.

wii
07-14-2008, 05:42 PM
Ok, that works.

Any reason why it doesn´t work using a BB code module ? I thought HTML is not a problem ?

Add the code to a new Template Module.

Brian
07-15-2008, 02:28 PM
The description for BB code modules does say that Template modules should be used for anything more than basic HTML.

The main problem with using advanced HTML in BB code modules is that the BB code parser will convert line breaks (or new lines) in your code to <br /> tags and ususally mucks up any type of formatted HTML by doing so.