Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » [SOLVED] Why Is this .swf Changing my webpage?


Why Is this .swf Changing my webpage?

Closed Thread
  #1 (permalink)  
Old 09-16-10, 12:16 PM
Tony S. Tony S. is offline
Newbie Coder
 
Join Date: Jul 2009
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Spin Why Is this .swf Changing my webpage?

Hi,
I hope that everyone here is having a great day. I am new to both coding of any kind and flash & action scripts as well. I was really hoping that someone here could help me with my current problem. That is. I have been trying to imbed the video code below into my existing webpage, however when I do paste the code into my webpage when I view the page I can see the video just fine, the problem is that the the colors to my webpage (background & table colors) have been changed to white.

Can someone please help me figure this out. How do I add this video code to my webpage without changing the original colors of that page?

The "swfobject.js", "config.xml", "controller.swf", "preload.swf", "FlashTemplate.css", and "ProductionInfo.xml" files are all included in the video folder.

Any help will be greatly appreciated.

Sincerely
Tony S.

Code:
 <title>Created by Camtasia Studio 5</title>
      <script type="text/javascript" src="swfobject.js"></script>
      <script type="text/javascript" src="1-All_About_Product_Research.js"></script>
      
                             
	   <link rel="stylesheet" type="text/css" href="FlashTemplate.css"/>
   </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>
      <div align="center">
        <script type="text/javascript">
		  // <![CDATA[          
         var fo = new SWFObject( "1-All_About_Product_Research_controller.swf", "csSwf", "640", "535", "7", "#FFFFFF" );
         fo.addVariable( "csConfigFile", "1-All_About_Product_Research_config.xml"  ); 
         fo.addVariable( "csColor"     , "FFFFFF"           );
         fo.addVariable( "csPreloader" , "1-All_About_Product_Research_preload.swf" );
         if( args.movie )
         {
            fo.addVariable( "csFilesetBookmark", args.movie );
         }
         fo.write("flashcontent"); 		  	  
         // ]]>

	   </script>

Last edited by Tony S.; 09-16-10 at 12:26 PM.
  #2 (permalink)  
Old 09-16-10, 11:21 PM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,171
Thanks: 3
Thanked 9 Times in 9 Posts
Try taking out this line:

Code:
fo.addVariable( "csColor"     , "FFFFFF"           );
See if that helps. If not can you zip up all the files in a zip files and post it here? Makes troubleshooting easier.

Pete
__________________
  #3 (permalink)  
Old 09-17-10, 09:11 AM
Tony S. Tony S. is offline
Newbie Coder
 
Join Date: Jul 2009
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
thank you digioz for your suggestion. I did remove that line from the code and the problem is still there. :-( I have also zipped up all the relevant video files so that you can see them. I am not sure how to post them here so I have put a link where the files can be downloaded. Click This link to
  #4 (permalink)  
Old 09-17-10, 09:26 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,550
Thanks: 2
Thanked 16 Times in 15 Posts
There's also a second reference to #FFFFFF you might want to remove too...

Quote:
var fo = new SWFObject( "1-All_About_Product_Research_controller.swf", "csSwf", "640", "535", "7", "#FFFFFF" );
  #5 (permalink)  
Old 09-17-10, 09:35 AM
Tony S. Tony S. is offline
Newbie Coder
 
Join Date: Jul 2009
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Spin Why Is this .swf Changing my webpage?

Thank you very much digioz for your help. I did remove the line from the video code that you pointed out. I am sorry to say that I am still having my problem.

I have tried to attached all of the relevant video files to this post but the file size exceeds the 500 KB limit. Would you have any more suggestions?
  #6 (permalink)  
Old 09-17-10, 10:10 AM
bizzar528's Avatar
bizzar528 bizzar528 is offline
Community Liaison
 
Join Date: Sep 2004
Location: Pennsylvania, US
Posts: 1,550
Thanks: 2
Thanked 16 Times in 15 Posts
Copy it to your hosting and post the link to the zip file.
  #7 (permalink)  
Old 09-18-10, 09:14 AM
Tony S. Tony S. is offline
Newbie Coder
 
Join Date: Jul 2009
Posts: 43
Thanks: 8
Thanked 0 Times in 0 Posts
Thumbs up

I want to thank digioz, andbizzar528 for the great advice that you gave me. because of it I was able to change the config..xml with a few other minor code changes. I now have my video embedded on my webpage with no other changes to the page.

Thank you both again for your help and advice I am very grateful to you.
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
logging into website (sending form data) gnznroses Visual Basic 1 12-05-05 05:32 PM
Newbie: .swf audio player with playlist Captdarryn Flash & ActionScript 2 04-28-05 03:13 AM
Deleting Temp Internet Content when webpage closed? Naresh Rohra ASP 1 03-31-05 09:05 AM
need help with viewing uploaded image on webpage? mikewooten PHP 0 03-16-04 07:39 PM


All times are GMT -5. The time now is 06:54 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.