Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
merffe #1
Transfer of SWF and Dynamic HTML-HELP
Hello
I currently have materials posted on an internal web server. These
materials consist of swfs, html, dynamic text files etc. When I copy the
files on a CD so that they can be transoported, they don't seem to work. The
index page will not launch. Please advise. I also attached the idex code so
that you can maybe see what is happening.
thanks in advnace for your time.
<html>
<!--
HTML LAUNCH PAGE FOR LOCAL AND TESTING
//-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<script src="config_info.js"></script>
<!-- Use aspen.js if serving from Aspen; use local.js and Cookie.js if
running locally. -->
<!-- script src="../share/aspen.js"></script -->
<script src="../share/Cookie.js"></script>
<script src="../share/local.js"></script>
<style type="text/css">
body {
background-color: #FFFFFF;
font-family: helvetica,sans-serif;
}
</style>
</head>
<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"
onUnload="scormStop()">
<SCRIPT>
<!--
// Unfortunately, getBookmark() and getCompletedSlides() return
// different formats.
var src = "controller.swf?" + getBookmark() +
"&completedSlides=" + getCompletedSlides();
var objectBeginTag = '<object id="movie"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%"
height="100%">';
var objectEndTag = '</object>';
var paramTags = '<param name="SRC" value="' + src + '">' + '<param
name="salign" value="LT"><param name="QUALITY" value="high"><param name="LOOP"
value="false">';
var embedTag = '<embed src="' + src + '"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Vers
ion=ShockwaveFlash" type="application/x-shockwave-flash" width="100%"
height="100%" salign="LT" quality="high" loop="false" name="movie"></embed>';
// Now write the whole thing out
document.write(objectBeginTag + paramTags + embedTag + objectEndTag);
//-->
</script>
</body>
</html>
merffe Guest
-
Dynamic HTML for IMG SOURCE
DWMX. Hi, I have a recordset with a ProductID field and i am trying to insert this ProductID into the name if the Source image so it becomes... -
DYNAMIC SITES AND HTML
:o I'M A DREAMWEAVER VIRGIN AND NEED SOME ADVICE.... THE SITE WILL BE PUBLISHED ON WINDOWS 2000 SERVER WHICH RUNS ASP AND ASP.NET. IT WILL BE A... -
html in dynamic text
i didn't think this would be a difficult task, but for some reason i can't get it working... i've got a dynamic text field into which a .txt file... -
Transfer Graphic to HTML?
Is it possible to use Photoshop or other software to transfer a graphic such as .gif to HTML? Please advice. Thanks. Karen -
Dynamic Html Headers
Hi, how to dynamically supply value for the title element in HTML headers section.. thanks in advance -
jasan3114 #2
Re: Transfer of SWF and Dynamic HTML-HELP
I am just trying to help, so if I am wrong, hopefully someone will correct me.
I just tested your code with a flash movie on my computer. Don't know
javascript, so i won't comment on that. Even without the .js files (config.js
and cookie.js, local.js) my flash movie played the way it should (it ofcourse
needs the active content fix)
Your index page basically has the source embedded as "src = "controller.swf?"
+ getBookmark() + "&completedSlides=" + getcompletedSlides();"
Either the source flash movie and completedsSlides (don't know what that is)
is not at the root or they're not working properly. If the site was working
locally, you might want to check on your CD if your folders are correctly named
and the paths defined correctly for the source files and links. Looks like the
flash movie in your index page serves as the menu for links to other pages.
You might also want to check the flash movie itself and see if it plays
directly through the flash player. If you have flash player installed and you
double-click the .swf file, it should play.
Hope this helps and I hope someone more knowledgeable can help here.
Regards
jasan3114 Guest



Reply With Quote

