I've got over 100 facility sites that all use the same flash presentation on the home page. Links in the flash all go to specific pages on the site. (For example, http://lakelawnmetairie.com/plan_ahead/preplanning.html) I've got the script that requires me to type a specific URL for the link to go to...
But I need that url to change depending on which facility site the user is on. Is there a way to correct this so that it's just one master flash presentation, but the links will go to the appropriate page based on which facility site the user is on?
You could use Flash vars to pass in a URL, so you can specify what the URL should be for any particular page.
//SET A FLASH VAR ON THE HTML PAGE
<PARAM NAME=url VALUE="http://lakelawnmetairie.com/plan_ahead/preplanning.html
<EMBED src="your.swf" FlashVars="url=http://lakelawnmetairie.com/plan_ahead/preplanning.html
//SET A VARIABLE FOR THE FLASH VAR INSIDE OF FLASH
linkURL = root.loaderInfo.parameters['url'];
//TARGET THE SET 'LINKURL' VARIABLE AND SEND USER TO THE LINK