<?xml version="1.0" encoding="utf-8"?>
<dictionary>
<item key="dtml"><![CDATA[<!-- BO ZMSCustom_flash_asset4 -->

<dtml-comment>
##########################################################################################
# Author:   Dr. Thorsten Fox 
# Company:  SNTL Publishing
# WWW:      http://www.sntl-publishing.com
# Date:     08.11.2006
# Version:  4.2 (CSS modif FH)
# Comments: Basic object for embedding Flash Movies (*.swf)
##########################################################################################
</dtml-comment>

<dtml-let flashfile="getObjProperty('flashfile',REQUEST)"
    img="getObjProperty('img',REQUEST)"
    openInWindow="getObjProperty('openInWindow',REQUEST)"
    width="getObjProperty('width',REQUEST)"
    height="getObjProperty('height',REQUEST)"
>
<div class="flashasset">
 <dtml-if "getObjProperty('title',REQUEST)"><h2><dtml-var "getObjProperty('title',REQUEST)"></h2></dtml-if>  
 <div class="preview" style="border: 1px solid silver; margin-bottom:16px; background-color:#D9F0F7;
    <dtml-if img>
      width:<dtml-var "img.getWidth()">px;
      background-image: url(<dtml-var "img.getHref(REQUEST)">) no-repeat top left;
    <dtml-else>
      width:<dtml-var width>px;height:<dtml-var height>px;
    </dtml-if>
  ">
  <dtml-if "flashfile and not ( REQUEST.get('op','')=='print' or REQUEST.get('op','')=='printnode' )">
    <dtml-if "openInWindow or REQUEST['URL'].find('manage')>0">  

    <!-- Show the asset in a new window on click ... -->
   
      <a href="#"
          onclick="javascript:window.open('<dtml-var "flashfile.getHref(REQUEST)">','Flash','width=<dtml-var width>,height=<dtml-var height>');return false"
          style="color:#999999;font-size:9px;text-decoration:none" 
          title="Klicken Sie um die Animation in einem neuen Fenster aufzurufen">                      
  
        <!-- ... and the image embedded in the HTML page -->    
        <dtml-if img>
          <img src="<dtml-var "img.getHref(REQUEST)">" 
              width="<dtml-var "img.getWidth()">" 
              height="<dtml-var "img.getHeight()">" 
              alt="" border="0" 
              title="Klicken Sie um die Animation in einem neuen Fenster aufzurufen" /> 
        </dtml-if>
        <span style="float:right;display:block;font-size:9px;font-family:Geneva,Arial,Sans-Serif;position:relative;top:-25px;margin-bottom:-25px"
          >Flash Animation [<dtml-var "flashfile.getDataSizeStr()">]<img 
          src="<dtml-var "flashfile.getMimeTypeIconSrc()">" alt="Start Flash" border="0" align="absmiddle"
          /></span>
      </a>      

    <dtml-else>
    <!-- not openInWindow -->
    <!-- show the flash object embedded within the HTML page  -->
    <!-- with version check version greater than 4.0.2 -->

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
          codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" 
           width="<dtml-var width>"
           height="<dtml-var height>" >
      <param name=movie value="<dtml-var "flashfile.getHref(REQUEST)">" >
      <param name=quality value=high>
      <embed type="application/x-shockwave-flash" quality="high"
            pluginspage="http://www.macromedia.com/go/getflashplayer"
            width="<dtml-var width>"
            height="<dtml-var height>"
            src="<dtml-var "flashfile.getHref(REQUEST)">" />
      <dtml-comment>
      <noembed>
        <dtml-if img>
         <img src="<dtml-var "img.getHref(REQUEST)">" 
              width="<dtml-var "img.getWidth()">" 
              height="<dtml-var "img.getHeight()">" 
        alt="" border="0" /> 
        </dtml-if>
      </noembed>
     </dtml-comment>
    </embed>
           
    </object>
    
   </dtml-if> <!-- openInNewWindow -->
  
  <dtml-else>
  <!-- not flashfile -->
  <!-- show the image embedded within the HTML page  -->
    <dtml-if img>
      <img src="<dtml-var "img.getHref(REQUEST)">" 
           width="<dtml-var "img.getWidth()">" 
           height="<dtml-var "img.getHeight()">" 
           alt="" border="0" /> 
    </dtml-if>      
  </dtml-if>

<!-- flashfile -->
<dtml-comment>
 <p>[<a 
  href="http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&Lang=German&P5_Language=German" target="_blank">Download Flash-Plugin</a>]
 </p>
</dtml-comment>
   <dtml-if "getObjProperty('attr_dc_description',REQUEST)">
    <p style="font-style:italic;text-align:center;margin:0px;padding:3px"><dtml-var "getObjProperty('attr_dc_description',REQUEST)" newline_to_br></p>
  </dtml-if> 
  
 </div>
</div>
</dtml-let>
<!-- EO ZMSCustom_flash_asset4 -->]]></item>
<item key="enabled" type="int">0</item>
<item key="key"><![CDATA[flash_asset4]]></item>
<item key="value" type="dictionary"><dictionary>
<item key="__obj_attrs__" type="list"><list>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[title]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Titel]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[string]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[flashfile]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Flash-File (*.swf)]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[file]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[width]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Width]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[int]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[height]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Height]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[int]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[openInWindow]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Open in new Window]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[boolean]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[img]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Image (for noembed)]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[image]]></item>
</dictionary>
</item>
<item type="dictionary"><dictionary>
<item key="custom"></item>
<item key="default"></item>
<item key="id"><![CDATA[attr_dc_description]]></item>
<item key="keys" type="list"><list>
</list>
</item>
<item key="mandatory" type="int">0</item>
<item key="multilang" type="int">0</item>
<item key="name"><![CDATA[Beschreibung]]></item>
<item key="repetitive" type="int">0</item>
<item key="type"><![CDATA[text]]></item>
</dictionary>
</item>
</list>
</item>
<item key="access" type="dictionary"><dictionary>
<item key="edit" type="list"><list>
<item><![CDATA[ZMSEditor]]></item>
<item><![CDATA[ZMSAuthor]]></item>
<item><![CDATA[ZMSAdministrator]]></item>
</list>
</item>
<item key="insert" type="list"><list>
<item><![CDATA[ZMSEditor]]></item>
<item><![CDATA[ZMSAuthor]]></item>
<item><![CDATA[ZMSAdministrator]]></item>
</list>
</item>
</dictionary>
</item>
<item key="acquired" type="int">0</item>
<item key="name"><![CDATA[Flash-Asset4]]></item>
<item key="package"></item>
<item key="type"><![CDATA[ZMSObject]]></item>
</dictionary>
</item>
</dictionary>
