Ajustement des hotspots
authorPatrick PIERRE
mer., 10 avril 2013 13:23:57 +0200
changeset 91 cebefa4c7add
parent 90 c4d17749da38
child 92 622036603602
Ajustement des hotspots
Pdf/BaladeNature/Images/anim_grenouille2.gif
Pdf/BaladeNature/Images/anim_grenouille3.gif
Pdf/BaladeNature/Images/grenouille.png
Pdf/BaladeNature/balade_nature_rich.xml
Xml/Documents/torture_test.xml
Binary file Pdf/BaladeNature/Images/anim_grenouille2.gif has changed
Binary file Pdf/BaladeNature/Images/anim_grenouille3.gif has changed
Binary file Pdf/BaladeNature/Images/grenouille.png has changed
--- a/Pdf/BaladeNature/balade_nature_rich.xml	mar. avril 09 19:03:42 2013 +0200
+++ b/Pdf/BaladeNature/balade_nature_rich.xml	mer. avril 10 13:23:57 2013 +0200
@@ -77,14 +77,14 @@
             <hotspot x="84%" y="74%" w="10.8%">
               <image id="anim_chardon" type="animation"/>
             </hotspot>
-            <hotspot x="45%" y="28%" w="16%" type="pulse">
+            <hotspot x="45%" y="28%" w="16%" h="16%" type="pulse">
               <spot dx="-3%" dy="-4%"><p>Le lynx</p></spot>
               <scenario>
                 <init action="hide" target="spot"/>
                 <onclick action="show" target="spot"/>
               </scenario>
             </hotspot>
-            <hotspot x="13%" y="65%" w="16%" type="pulse">
+            <hotspot x="13%" y="65%" w="16%" h="16%" type="pulse">
               <spot dx="2%" dy="-1%"><p>L'écureuil</p></spot>
               <scenario>
                 <init action="hide" target="spot"/>
@@ -129,27 +129,27 @@
         </head>
         <media>
           <image id="balade_nature_004_rich">
-            <hotspot x="11%" y="5%" w="16%" type="pulse">
+            <hotspot x="11%" y="5%" w="16%" h="14%" type="pulse">
               <spot dy="12%">
                 <p>L'épervier</p>
               </spot>
               <scenario><init action="hide"/><onclick action="show"/></scenario>
             </hotspot>
-            <hotspot x="13%" y="28%" w="16%" type="pulse">
+            <hotspot x="13%" y="28%" w="16%" h="14%" type="pulse">
               <spot dy="5%"><p>Les moutons</p></spot>
               <scenario>
                 <init action="hide" target="spot"/>
                 <onclick action="show" target="spot"/>
               </scenario>
             </hotspot>
-            <hotspot x="43%" y="52%" w="16%" type="pulse">
+            <hotspot x="43%" y="52%" w="16%" h="14%" type="pulse">
               <spot dx="-4%" dy="-3%" dw="0%"><p>Le chamois</p></spot>
               <scenario>
                 <init action="hide" target="spot"/>
                 <onclick action="show" target="spot"/>
               </scenario>
             </hotspot>
-            <hotspot x="7%" y="71%" w="16%" type="pulse">
+            <hotspot x="7%" y="71%" w="16%" h="14%" type="pulse">
               <spot dy="-2%"><p>Le castor</p></spot>
               <scenario>
                 <init action="hide" target="spot"/>
@@ -194,23 +194,23 @@
         </head>
         <media>
           <image id="balade_nature_005">
-            <hotspot x="67%" y="19%" w="16%" type="pulse">
+            <hotspot x="67%" y="19%" w="16%" h="14%" type="pulse">
               <spot dx="-6%" dy="-8%" dw="18%"><image id="zoom_oiseau"/></spot>
               <scenario>
               <init action="hide" target="spot"/>
               <onclick action="show" target="spot"/>
               </scenario>
             </hotspot>
-            <hotspot x="51%" y="67%" w="16%" type="pulse">
+            <hotspot x="51%" y="67%" w="16%" h="14%" type="pulse">
               <spot dx="-4%" dy="-6%" dw="9%"><image id="zoom_herisson"/></spot>
               <scenario>
                 <init action="hide" target="spot"/>
                 <onclick action="show" target="spot"/>
               </scenario>
             </hotspot>
-            <hotspot x="72.1%" y="74%" w="8%" h="20%" type="pulse">
+            <hotspot x="72.1%" y="74%" w="8%" type="pulse">
               <image id="grenouille"/>
-              <spot dy="-13.75%">
+              <spot dy="-13.65%">
                 <image id="anim_grenouille3" type="animation"/>
               </spot>
               <scenario>
--- a/Xml/Documents/torture_test.xml	mar. avril 09 19:03:42 2013 +0200
+++ b/Xml/Documents/torture_test.xml	mer. avril 10 13:23:57 2013 +0200
@@ -568,21 +568,21 @@
             </p>
             <media>
               <image id="f-gcru">
-                <hotspot x="23.5%" y="48.7%" w="7.5%" h="14.2%" type="normal">
-                  <spot  dx="-1%" dy="-4.1%"><p>Directionnel</p></spot>
+                <hotspot x="23.6%" y="49%" w="7.5%" h="14.2%" type="normal">
+                  <spot dx="-1.5%" dy="-4.1%"><p>Directionnel</p></spot>
                   <scenario>
                     <init  action="hide" target="spot"/>
                     <onclick action="show" target="spot"/>
                   </scenario>
                 </hotspot>
-                <hotspot x="68.2%" y="33.2%" w="7.5%" h="14.2%" type="visible">
-                  <spot dx="-2.5%" dy="-4.1%"><p>Compte-tours</p></spot>
+                <hotspot x="68.2%" y="33%" w="7.5%" h="14.2%" type="visible">
+                  <spot dx="-2%" dy="-4.1%"><p>Compte-tours</p></spot>
                   <scenario>
                     <init action="hide" target="spot"/>
                     <onclick action="show" target="spot"/>
                   </scenario>
                  </hotspot>
-                <hotspot x="55.3%" y="67.8%" w="7.5%" type="pulse">
+                <hotspot x="55.3%" y="67.8%" w="7.5%" h="14.2%" type="pulse">
                   <spot dx="-2.5%" dy="-6%" dw="5%">
                     <image id="zoom_oil"/>
                   </spot>