Newbie want Flash to degrade gracefully

Hi all, thanks in advance

I’ve been coding quite a while, but have never touched flash.
I’ve been asked to quote, on re-coding a site to make it degrade gracefully when Flash is missing/broken - site currently just leaves big empty boxes on-page.

I ‘think’ this is code the site currently uses for flash:

<!-- SWF Object -->

				<script type="text/javascript" src="http://www.things.co.uk/js/swfobject/swfobject.js"></script>
				<script type="text/javascript">
					var flashvars = {};
										flashvars.flashVarUrl 	= 	"/";
					flashvars.slideshowUrl 	= 	"1245666017";
					flashvars.videoUrl 		= 	"0";
					var params = {};
					params.allowfullscreen = "true";
					params.menu = "false";
					//params.wmode = "transparent";	//Enabl;ing this causes a problem on video send to friend feature, where the @ becomes " in the input boxes!
					params.wmode = "opaque";	//Enabl;ing this causes a problem on video send to friend feature, where the @ becomes " in the input boxes!
					var attributes = {};
					attributes.id = "homepageSlideshow";
						flashvars.slideshow 				= "1245666017";
	flashvars.title 					= "Video: Introduction To things ";
	flashvars.viewMoreButtonText 		= "About Us";
	flashvars.viewMoreButtonSeconds 	= "37";
	flashvars.viewMoreButtonUrl 		= "http://www.things.co.uk/about-us/";
	flashvars.featuredthings 		= "all";

								
	flashvars.bullet1 		= "VIEWMOREBUTTONTEXT=About Us";		flashvars.bullet2 		= "VIEWMOREBUTTONSECONDS=37"; 	flashvars.bullet3 		= "VIEWMOREBUTTONURL=http://www.things.co.uk/about-us/"; 		flashvars.bullet4 		= "FEATUREDthings=all";
		flashvars.bullet5 		= "";
	flashvars.bullet6 		= "";								
						

									flashvars.pdf 			= "";
									flashvars.telephone		= "0800 306 1514";
									flashvars.slideshowType	= "a";
																			swfobject.embedSWF("SlideshowAprilNew.swf", "mainImage", "670", "384", "10.0.45.2", "js/swfobject/expressInstall.swf", flashvars, params, attributes);
									
																		attributes.id = "videoPlayer";
						swfobject.embedSWF("videoPlayer.swf", "sideVideo", "246", "370", "10.0.0", "js/swfobject/expressInstall.swf", flashvars, params, attributes);
					
										
					///////////////// Now define 3 things box
					var flashvars3things = {};
					flashvars3things.type = "allthings";
					flashvars.threethingsDisplayCategory 		= "";												attributes.id = "threethings";
							swfobject.embedSWF("3things.swf", "threethings", "670", "371", "10.0.0", "js/swfobject/expressInstall.swf", flashvars, params, attributes);
						
										
					
					///////////////// Now define 2 videos box
					var flashvars2Videos = {};
					flashvars2Videos.type = "allvideos";
					attributes.id = "moreVideosHolder";
					swfobject.embedSWF("2Videos.swf", "moreVideosHolder", "247", "130", "10.0.0", "js/swfobject/expressInstall.swf", flashvars, params, attributes);
				</script>
				<!-- End SWF Object -->
			
	</head>

I was looking this to try and make it degrade gracefully.

I realise this is an impossible question to answer, but how long do you think it would take say ‘an expert’ flash coder to implement?

And how long for a good coder, who doesn’t know flash/ (impossible to answer, I realise).

Any better suggestions for a refereence fix/library?

Thanks again

Any thoughts? Help?

Avanti

Not much to go on based on the code but if you want to make Flash degrade gracefully, ensure everything important that’s in the Flash file is accessible without flash being used (so an HTML and CSS design with the Flash when available layered on top). The main issue will be people who have Flash crippled, this is when your alternative content will be of the maximum benefit possible. Making Flash degrade gracefully has absolutely nothing to-do with Flash at all, it’s about providing the content via HTML so that others who don’t have flash can use it. If you mean Flash coders in respect to knowing ActionScript, none of that knowledge has anything to-do with the process because it’s dependant on the very thing you’re trying to unhook the dependence from. :slight_smile:

Food for thought. I think I understood what your saying. Thank you Alex.