473,757 Members | 10,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Combining two flash players

2 New Member
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.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitl ed Document</title>
<script type="text/javascript" src="swfobject. js"></script>
<script type="text/javascript" src="Amber_Grov e.js"></script>
<script type="text/javascript" src="swfobject. js"></script>
<script type="text/javascript" src="Amber_Grov e_2.js"></script>
</head>


<body id="cs_flashBod y" >
<div id="flashconten t">
<div id="cs_noexpres sUpdate">
<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_co ntroller.swf", "Amber_Grove_co ntroller.swf", "350", "235", "8", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFi le", "Amber_Grove_co nfig.xml" );
fo.addVariable( "csColor" , "FFFFFF" );

if( args.movie )
{
fo.addVariable( "csFilesetBookm ark", args.movie );
}
fo2.write("flas hcontent2");
// ]]>

</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( "csConfigFi le", "Amber_Grove_2_ config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );

if( args.movie )
{
fo.addVariable( "csFilesetBookm ark", args.movie );
}
fo.write("flash content");
// ]]>

</script> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>[/HTML]
Sep 24 '07 #1
4 1618
r035198x
13,262 MVP
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.dt d">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitl ed Document</title>
<script type="text/javascript" src="swfobject. js"></script>
<script type="text/javascript" src="Amber_Grov e.js"></script>
<script type="text/javascript" src="swfobject. js"></script>
<script type="text/javascript" src="Amber_Grov e_2.js"></script>
</head>


<body id="cs_flashBod y" >
<div id="flashconten t">
<div id="cs_noexpres sUpdate">
<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_co ntroller.swf", "Amber_Grove_co ntroller.swf", "350", "235", "8", "#FFFFFF", false, "best" );
fo.addVariable( "csConfigFi le", "Amber_Grove_co nfig.xml" );
fo.addVariable( "csColor" , "FFFFFF" );

if( args.movie )
{
fo.addVariable( "csFilesetBookm ark", args.movie );
}
fo2.write("flas hcontent2");
// ]]>

</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( "csConfigFi le", "Amber_Grove_2_ config.xml" );
fo.addVariable( "csColor" , "FFFFFF" );

if( args.movie )
{
fo.addVariable( "csFilesetBookm ark", args.movie );
}
fo.write("flash content");
// ]]>

</script> </td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>[/HTML]
All this code is Javascript != Java.
Do you want this moved to the Javascript forum?
Sep 24 '07 #2
Cosmichrist
2 New Member
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.
Sep 24 '07 #3
r035198x
13,262 MVP
Yes, I apologize, please move it to the appropriate forum. Thank you.
Moved to Javscript forum
Sep 24 '07 #4
gits
5,390 Recognized Expert Moderator Expert
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
Sep 24 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4600
by: Bruce W.1 | last post by:
I want to put a live connection in a web page to periodically updated data. When the data changes, the server notifys the client and gives the new data. The client does not regularly refresh the page. The client responds to server-side events only. The screen display changes without any user interaction. An application like this might be a chat, stock ticker, or data inventory. Sofar as I can tell nothing in the .NET framework can...
2
8407
by: Tim Dixon | last post by:
Hi, Just a quick question... Has anyone used VB.net to play a flash file? and how is it done? All I need to do is get my VB.NET application to play a flash file until it gets to the stop command within the flash file
1
8070
by: Bill DeWitt | last post by:
I know that there is probably some small amount of bias here for Java, but I am trying to decide whether to devote my learning curve time to java or flash. What I want to accomplish is to create a series of web based educational games which will have very basic graphics, allow two or more players on the same game, and have some small amount of interacitvity between dissimilar games (IOW, there may be a math game that sends 'level achieved'...
4
2793
by: petermichaux | last post by:
Hi, Is there any way to make DOM scripted animation smoother? Flash is far superior in this area. Any one here know what makes Flash so smooth by comparison? I don't like the fact that the standards based world is so far behind the Flash based stuff in some areas (animation and server push in particular)
1
2243
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15507 all three browers successfully run the Flash movie and show the same version of Flash to be installed. However, if I try to use a javascript Flash detection solution, it does
0
2004
by: daveyand | last post by:
Hey Guys, I dont know if this is the correct "group" and if not apologies, could someone point me in the right direction. Page can be found here: (http://www.brooksie-net.co.uk/tmp/the_sun.php) I have an absolutley positioned div on a page, that page isnt a page that i personally can edit. The div is created on the fly as JS. (The idea is will be an ad) This div has a z-index of 899 or something
8
5911
by: Neo Geshel | last post by:
Greetings. BACKGROUND: My sites are pure XHTML 1.1 with CSS 2.1 for markup. My pages are delivered as application/xhtml+xml for all non-MS web clients, and as text/xml for all MS web clients (Internet Explorer). My flash content was originally brought in via the “flash satay” method, but I have since used some server-side magic do deliver one <objecttag
0
2808
by: crisscross27 | last post by:
Hi, I found a page called "myflashfetish" where you chan choose mp3 players for my space, well the problem is this, I wanted to place 2 or more players in myspace in a particular place, I read another sources how to do that, so i tried to add "position:absolute;left:525px;top:250", i succeed moving the first player but i couldnt move the second, in change it appears besides the first one every time i move the first one, could you help me? how...
1
2730
by: critchey1 | last post by:
Hey everyone, i've been playing around with trying to get some scripts to work with detecting whether flash player is installed on your computer or not. I found a flash detection kit on the adobe site which had a client side detection method using javascript. Basically what im trying to get it to do is if flash player is installed, use the style property display="none" to hide my static content, and if flash is not installed hide the flash...
0
9298
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10072
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9737
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7286
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6562
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
3399
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2698
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.