We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11831
    • 12 Posts
    I am trying to get a flash movie intro to my website to load but it’s not working. I’ve created the page, pasted the html link into the body section of the template, uploaded the css and even tried creating a chunk to play through but with no luck. Is there a particular way of doing this that I’m not doing?
      • 28625
      • 24 Posts
      Quote from: harry_028 at Jul 03, 2009, 12:09 PM

      I am trying to get a flash movie intro to my website to load but it’s not working. I’ve created the page, pasted the html link into the body section of the template, uploaded the css and even tried creating a chunk to play through but with no luck. Is there a particular way of doing this that I’m not doing?
      I’m having the same problem. I have no problem embedding static SWF files but I have created a menu with a program that generates a dynamic SWF file and I can’t get this to work for love nor money! I have an HTML version of the file that you can see here: http://www.ideal-country-property.com/flash/icpmenu_es/ICPmenu_es.htm or the link to the actual SWF is http://www.ideal-country-property.com/flash/icpmenu_es/menu.swfbut if I paste that same code into my ModX page it won’t work. I’ve tried various plugins (SWFObject seems to be the most straightforward to use) but I still haven’t had any joy. The grey SWF box appears but that’s all.
      The actual code in the XML menu file is here if it helps:
      <?xml version="1.0"?>
      <menu type="slide down pro v 2.0">
      	<media_to_load lev0_top_path="menu_data/lev0_top.swf" lev0_mid_normal_path="menu_data/lev0_normal.swf" lev0_mid_mouseover_path="menu_data/lev0_mouseover.swf" lev0_mid_selected_path="menu_data/lev0_selected.swf" lev0_bottom_path="menu_data/lev0_bottom.swf" lev0_arrow_path="menu_data/lev0_arrow.swf" search_button_path="menu_data/search.swf" lev1_top_path="" lev1_mid_normal_path="menu_data/lev1_normal.swf" lev1_mid_mouseover_path="menu_data/lev1_mouseover.swf" lev1_mid_selected_path="menu_data/lev1_mouseover.swf" lev1_bottom_path="" lev1_arrow_path="menu_data/lev1_arrow.swf" bg_path="menu_data/inv.gif" snd_level0_mouseover_path="" snd_level1_mouseover_path="" snd_click_path=""/>
      	<menu_structure>
      		<item>
      			<item text="ICP - INICIO" url="" icon="menu_data/house.png" open_window="" call_function_name="" call_function_parameter="" take_level_colorize_data="1">
      				<item text="Quienes Somos" url="http://www.ideal-country-property.com/es/home" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Blog (en inglés)" url="http://www.ideal-country-property.com/blog" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Foros (en inglés)" url="http://www.ideal-country-property.com/forum" icon="" open_window="" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			</item>
      			<item text="BUSQUEDAS" url="" icon="menu_data/magnifier.png" open_window="" call_function_name="" call_function_parameter="" take_level_colorize_data="1">
      				<item text="Propiedades: Venta" url="http://www.ideal-country-property.com/es/property-search?new=true" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Propiedades: Alquiler" url="http://www.ideal-country-property.com/es/rental-search?sf=false'" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Propiedades: Costa" url="http://www.ideal-country-property.com/es/coastsearch" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Propiedades: Mapa" url="http://www.ideal-country-property.com/es/mapsearch?new=true" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Listados" url="http://www.ideal-country-property.com/es/properties" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Preseleccionadas" url="http://www.ideal-country-property.com/es/shortlist" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			</item>
      			<item text="CASAS RURALES" url="http://www.ideal-country-property.com/es/holidaylets" icon="menu_data/weather_sun.png" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			<item text="INVERSIONES" url="http://www.ideal-country-property.com/es/remreg" icon="menu_data/money.png" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			<item text="SEGUROS" url="" icon="menu_data/user_suit.png" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1">
      				<item text="Seguros: Inicio" url="http://www.ideal-country-property.com/es/insurance" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Vida" url="http://www.ideal-country-property.com/es/inslife" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Salud" url="http://www.ideal-country-property.com/es/inshealth" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Autos" url="http://www.ideal-country-property.com/es/insauto" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Funeral" url="http://www.ideal-country-property.com/es/insfuneral" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Hogar" url="http://www.ideal-country-property.com/es/inshome" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Otros" url="http://www.ideal-country-property.com/es/insother" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			</item>
      			<item text="LA ZONA" url="" icon="menu_data/map.png" open_window="" call_function_name="" call_function_parameter="" take_level_colorize_data="1">
      				<item text="Nuestra Zona" url="http://www.ideal-country-property.com/es/areas" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Más Allá" url="http://www.ideal-country-property.com/es/moreareas" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			</item>
      			<item text="HERRAMIENTAS" url="" icon="menu_data/wrench_orange.png" open_window="" call_function_name="" call_function_parameter="" take_level_colorize_data="1">
      				<item text="Convertidor" url="http://www.ideal-country-property.com/es/cconv" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Traductor" url="http://www.ideal-country-property.com/es/translations" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			</item>
      			<item text="ENLACES UTILES" url="" icon="menu_data/link.png" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1">
      				<item text="Enlaces: Inicio" url="http://www.ideal-country-property.com/es/useful_links" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Legal" url="http://www.ideal-country-property.com/es/legallinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Propiedad" url="http://www.ideal-country-property.com/es/proplinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Conducción" url="http://www.ideal-country-property.com/es/drivelinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Ocio" url="http://www.ideal-country-property.com/es/artlinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Deporte" url="http://www.ideal-country-property.com/es/sportlinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Música" url="http://www.ideal-country-property.com/es/musiclinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Informática" url="http://www.ideal-country-property.com/es/pclinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      				<item text="Variados" url="http://www.ideal-country-property.com/es/misclinks" icon="" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      			</item>
      			<item text="CONTACTO" url="http://www.ideal-country-property.com/es/contact" icon="menu_data/email_edit.png" open_window="_self" call_function_name="" call_function_parameter="" take_level_colorize_data="1"/>
      		</item>
      	</menu_structure>
      </menu>
      

      Thanks in advance for any help received. The menu designer program says I should paste this code in the <HEAD> part of the page:
      <script type="text/javascript" src="swfobject.js"></script>
          <script type="text/javascript" src="flying.js"></script>
      and then in the <BODY> part this gets pasted:
      <!-- Flash Menu Labs – www.flashmenulabs.com -->
          <div id="FlashMenuLabs" style="position:absolute; top:0px; padding-left:0px; z-index:0;">
              You need to upgrade your Flash Player or to allow javascript to enable Website menu. </br>
              <a href="http://www.adobe.com/go/getflashplayer">Get Flash Player</a>            
          </div>
          <script type="text/javascript">
          // <![CDATA[
              var so = new SWFObject("menu.swf", "menu", "185", "440", "8", "#000000");
              so.addVariable("page_code", "a_b_c");
      
              so.addParam("wmode", "transparent");
              so.addParam("scale", "noscale");
              so.addParam("salign", "TL");
              so.write("FlashMenuLabs");
          // ]]>
          </script>
      I’m really at my wits end and it is probably a simple matter for an experienced web designer but for a newbie like me, it’s a NIGHTMARE!
        • 9700
        • 7 Posts
        I am having this EXACT SAME PROBLEM!!!
        help us!!!
          • 28625
          • 24 Posts
          I finally managed to get it sorted thanks to Googlegroups and the solution to my particular propblem was to add the BASE parameter to just the SWF file and not the page (as it screwed up all my other links otherwise). The parameter to add was this:
          so.addParam("base", "http://www.ideal-country-property.com/icpmenu_es/"); 
          Obviously you will need to add the address of where your own SWF is hosted.
          To read the full history and the solution you can visit Googlegroups SWFObject: http://groups.google.es/group/swfobject/browse_thread/thread/6bc280b258e4ecff?hl=es#
          Hope this helps.
          Chris.