1 Reply Latest reply: Jul 31, 2013 6:30 AM by Nitin Khare RSS

    how to use homeFlashImage.jsp

    Raghuram A

      can anyone tell me how to set up a flash file for homepromotions hero div using homeFlashImage.jsp

        • 1. Re: how to use homeFlashImage.jsp
          Nitin Khare

          You would have to create a "promotionalContent" type item which is a custom item defined under the CRS ProductCatalog repository extension. homeFlashImage.jsp will use its longDescription property for the Flash content. This longDescription property is of "big string" type and would actually contain the html markup containing the embedded Flash. This markup would be containing the <embed> and/or <object> tags so that browse can render the Flash content. The markup to be used can be like this:

           

          <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="550" height="400" id="movie_name" align="middle">
              <param name="movie" value="movie_name.swf"/>
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="movie_name.swf" width="550" height="400">
                  <param name="movie" value="movie_name.swf"/>
              <!--<![endif]-->
                  <a href="http://www.adobe.com/go/getflash">
                      <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>
                  </a>
              <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
          </object>
          

           

          Reference: OBJECT tag syntax | Flash Professional

           

          Hope it helps.