Home
TeamSite
Flash Dynamic Text
Rte
Hi,
I am recreating a html page in interwoven that has a Flash File and a text file that the Flash file reads.
I incorporated the script as a server side include and the flash file works, only the dynamic text file that the flash file calls doesn't show.
help....someone.....
Find more posts tagged with
Comments
Migrateduser
How about posting your script?
I wonder if the text file is in a location that is either not virtualized properly or not accessible via TS.
Dave
Current Environment(s):
(1) TS 6.1 SP1 on W2K3
(2) TS 6.1 SP1 on W2K
(3) TS 5.5.2 SP2 on Win2K
Rte
Thanks for looking into this.
Both the Flash file, the include that calls the Flash file and the Text file are all located in the same folder ( /en/offers/wallet/includes).
The generated html file, wallet.html, is located in a different folder /en/offers/air/wallet/)
Here's the include on the dcr:
<!--#include virtual="/en/offers/wallet/includes/CP_landing_sunpass_en.txt"-->
And this is the script in the include:
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 5;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
var words = navigator.plugins["Shockwave Flash"].description.split(" ");
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words
)))
continue;
var MM_PluginVersion = words
;
}
var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
&& (navigator.appVersion.indexOf("Win") != -1)) {
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
document.write('on error resume next \n');
document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
document.write('<OBJECT classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write(' codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
');
document.write(' ID="CP_landing_sunpass_en" WIDTH="500" HEIGHT="150" ALIGN="">');
document.write(' <PARAM NAME=movie VALUE="/en/offers/wallet/includes/CP_landing_sunpass_en.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> ');
document.write(' <EMBED src="/en/offers/wallet/includes/CP_landing_sunpass_en.swf" quality=high bgcolor=#FFFFFF ');
document.write(' swLiveConnect=FALSE WIDTH="500" HEIGHT="150" NAME="CP_landing_sunpass_en" ALIGN=""');
document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="
http://www.macromedia.com/go/getflashplayer">');
document.write(' </EMBED>');
document.write(' </OBJECT>');
} else{
document.write('<IMG src="/en/offers/wallet/images/sun_passes_en.gif" WIDTH="500" HEIGHT="150" usemap="" BORDER=0>');
}
//-->
</SCRIPT>
<NOSCRIPT><IMG src="/en/offers/wallet/images/sun_passes_en.gif" WIDTH="500" HEIGHT="150" usemap="" BORDER=0></NOSCRIPT>