|
First of all, thank you in advance for any direction you can provide. I do appreaciate it very much.
I am trying to combine two flash players which use java onto one page. I will list the text below. I figured I could just toss both onto one page, but I am missing something as one player plays and the other doesn't even show up. The java/flash is generated by Camtasia Studio, but when I asked them for technical support, they said they couldnt' help me combine the java on to one page, that was beyond their support. Thanks again for any help.
------------------------------------------------------------------------------------------------------
[HTML]<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="Amber_Grove.js"></script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="Amber_Grove_2.js"></script>
</head>
<body id="cs_flashBody" >
<div id="flashcontent">
<div id="cs_noexpressUpdate">
<p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>. </p>
</div>
</div>
<table width="200" border="1">
<tr>
<td><script type="text/javascript">
// <![CDATA[
var fo = new SWFObject( "Amber_Grove_controller.swf", "Amber_Grove_controller.swf", "350", "235", "8", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFile", "Amber_Grove_config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );
if( args.movie )
{
fo.addVariable( "csFilesetBookmark", args.movie );
}
fo2.write("flashcontent2");
// ]]>
</script>
</td>
<td> <script type="text/javascript">
// <![CDATA[
var fo = new SWFObject( "Amber_Grove_2_controller.swf", "Amber_Grove_2_controller.swf", "350", "235", "8", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFile", "Amber_Grove_2_config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );
if( args.movie )
{
fo.addVariable( "csFilesetBookmark", args.movie );
}
fo.write("flashcontent");
// ]]>
</script> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>[/HTML]
| |
Share:
8TB |
First of all, thank you in advance for any direction you can provide. I do appreaciate it very much.
I am trying to combine two flash players which use java onto one page. I will list the text below. I figured I could just toss both onto one page, but I am missing something as one player plays and the other doesn't even show up. The java/flash is generated by Camtasia Studio, but when I asked them for technical support, they said they couldnt' help me combine the java on to one page, that was beyond their support. Thanks again for any help.
------------------------------------------------------------------------------------------------------
[HTML]<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="Amber_Grove.js"></script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" src="Amber_Grove_2.js"></script>
</head>
<body id="cs_flashBody" >
<div id="flashcontent">
<div id="cs_noexpressUpdate">
<p>The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by <a href="http://www.macromedia.com/go/getflashplayer">downloading here</a>. </p>
</div>
</div>
<table width="200" border="1">
<tr>
<td><script type="text/javascript">
// <![CDATA[
var fo = new SWFObject( "Amber_Grove_controller.swf", "Amber_Grove_controller.swf", "350", "235", "8", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFile", "Amber_Grove_config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );
if( args.movie )
{
fo.addVariable( "csFilesetBookmark", args.movie );
}
fo2.write("flashcontent2");
// ]]>
</script>
</td>
<td> <script type="text/javascript">
// <![CDATA[
var fo = new SWFObject( "Amber_Grove_2_controller.swf", "Amber_Grove_2_controller.swf", "350", "235", "8", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFile", "Amber_Grove_2_config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );
if( args.movie )
{
fo.addVariable( "csFilesetBookmark", args.movie );
}
fo.write("flashcontent");
// ]]>
</script> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>[/HTML]
All this code is Javascript != Java.
Do you want this moved to the Javascript forum?
| | |
All this code is Javascript != Java.
Do you want this moved to the Javascript forum?
Yes, I apologize, please move it to the appropriate forum. Thank you.
| | 8TB |
Yes, I apologize, please move it to the appropriate forum. Thank you.
Moved to Javscript forum
| | Expert Mod 4TB |
hi ...
it seems that you use var fo for both of the swf-objects. try to use different variables for them ... lets say fo1 and fo2 ...
kind regards
| | Post your reply Sign in to post your reply or Sign up for a free account.
Similar topics
1 post
views
Thread by Bruce W.1 |
last post: by
|
2 posts
views
Thread by Tim Dixon |
last post: by
|
1 post
views
Thread by Bill DeWitt |
last post: by
|
4 posts
views
Thread by petermichaux@gmail.com |
last post: by
|
1 post
views
Thread by dscriv@gmail.com |
last post: by
|
reply
views
Thread by daveyand |
last post: by
|
8 posts
views
Thread by Neo Geshel |
last post: by
| | | | | | | | | | | | |