home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / animator.sit / animator / background_2703.xml next >
Encoding:
Extensible Markup Language  |  1991-04-10  |  7.7 KB  |  237 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2703</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_4095.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3177.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>385</left>
  23.             <top>297</top>
  24.             <right>485</right>
  25.             <bottom>319</bottom>
  26.         </rect>
  27.         <style>roundrect</style>
  28.         <showName> <true /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <false /> </autoHighlight>
  31.         <sharedHighlight> <true /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>animate</name>
  40.         <script>on mouseUp
  41. put bg field fileName into pictName
  42. picture pictName,file,roundRect,false,8
  43. if the result is empty then
  44. get the pictureWidth of window pictName
  45. put it into width
  46. get the pictureHeight of window pictName
  47. put it into height
  48. put width/(bg field cellsWide) into cellWidth
  49. put height/(bg field cellsHigh) into cellHeight
  50. set the globalRect of window pictName to "100,100," & ┬¼
  51. (100+cellWidth*bg field scaleFactor-1) & ┬¼
  52. "," & (100+cellHeight*bg field scaleFactor-1)
  53. set the globalLoc of window pictName to mainScreen
  54. set the scale of window pictName to bg field scaleFactor - 1
  55. set the visible of window pictName to true
  56. put " , " into point
  57. put 0 into it
  58. repeat bg field repTimes
  59. repeat with downward = 1 to bg field cellsHigh
  60. repeat with across = 1 to bg field cellsWide
  61. if (downward = 1) and (across = 1) then next repeat
  62. put (across-1)*cellWidth+1 into item 1 of point
  63. put (downward-1)*cellHeight+1 into item 2 of point
  64. set the scroll of window pictName to point
  65. wait bg field pauseTicks
  66. end repeat
  67. end repeat
  68. repeat with downward = bg field cellsHigh down to 1
  69. repeat with across = bg field cellsWide down to 1
  70. if (downward = bg field cellsHigh) and ┬¼
  71. (across = bg field cellsWide) then next repeat
  72. put (across-1)*cellWidth+1 into item 1 of point
  73. put (downward-1)*cellHeight+1 into item 2 of point
  74. set the scroll of window pictName to point
  75. wait bg field pauseTicks
  76. end repeat
  77. end repeat
  78. end repeat
  79. close window pictName
  80. end if
  81. end mouseUp
  82.  
  83.  
  84.  
  85.  
  86. </script>
  87.     </part>
  88.     <part>
  89.         <id>2</id>
  90.         <type>field</type>
  91.         <visible> <true /> </visible>
  92.         <dontWrap> <false /> </dontWrap>
  93.         <dontSearch> <false /> </dontSearch>
  94.         <sharedText> <false /> </sharedText>
  95.         <fixedLineHeight> <false /> </fixedLineHeight>
  96.         <autoTab> <false /> </autoTab>
  97.         <lockText> <false /> </lockText>
  98.         <rect>
  99.             <left>100</left>
  100.             <top>38</top>
  101.             <right>309</right>
  102.             <bottom>57</bottom>
  103.         </rect>
  104.         <style>rectangle</style>
  105.         <autoSelect> <false /> </autoSelect>
  106.         <showLines> <false /> </showLines>
  107.         <wideMargins> <false /> </wideMargins>
  108.         <multipleLines> <false /> </multipleLines>
  109.         <reservedFamily> 0 </reservedFamily>
  110.         <titleWidth>0</titleWidth>
  111.         <icon>0</icon>
  112.         <textAlign>left</textAlign>
  113.         <font>Chicago</font>
  114.         <textSize>12</textSize>
  115.         <textStyle>plain</textStyle>
  116.         <textHeight>20</textHeight>
  117.         <name>fileName</name>
  118.         <script></script>
  119.     </part>
  120.     <part>
  121.         <id>5</id>
  122.         <type>field</type>
  123.         <visible> <true /> </visible>
  124.         <dontWrap> <false /> </dontWrap>
  125.         <dontSearch> <false /> </dontSearch>
  126.         <sharedText> <false /> </sharedText>
  127.         <fixedLineHeight> <false /> </fixedLineHeight>
  128.         <autoTab> <false /> </autoTab>
  129.         <lockText> <false /> </lockText>
  130.         <rect>
  131.             <left>99</left>
  132.             <top>106</top>
  133.             <right>142</right>
  134.             <bottom>125</bottom>
  135.         </rect>
  136.         <style>rectangle</style>
  137.         <autoSelect> <false /> </autoSelect>
  138.         <showLines> <false /> </showLines>
  139.         <wideMargins> <false /> </wideMargins>
  140.         <multipleLines> <false /> </multipleLines>
  141.         <reservedFamily> 0 </reservedFamily>
  142.         <titleWidth>0</titleWidth>
  143.         <icon>0</icon>
  144.         <textAlign>left</textAlign>
  145.         <font>Chicago</font>
  146.         <textSize>12</textSize>
  147.         <textStyle>plain</textStyle>
  148.         <textHeight>16</textHeight>
  149.         <name>cellsWide</name>
  150.         <script></script>
  151.     </part>
  152.     <part>
  153.         <id>6</id>
  154.         <type>field</type>
  155.         <visible> <true /> </visible>
  156.         <dontWrap> <false /> </dontWrap>
  157.         <dontSearch> <false /> </dontSearch>
  158.         <sharedText> <false /> </sharedText>
  159.         <fixedLineHeight> <false /> </fixedLineHeight>
  160.         <autoTab> <false /> </autoTab>
  161.         <lockText> <false /> </lockText>
  162.         <rect>
  163.             <left>164</left>
  164.             <top>106</top>
  165.             <right>207</right>
  166.             <bottom>125</bottom>
  167.         </rect>
  168.         <style>rectangle</style>
  169.         <autoSelect> <false /> </autoSelect>
  170.         <showLines> <false /> </showLines>
  171.         <wideMargins> <false /> </wideMargins>
  172.         <multipleLines> <false /> </multipleLines>
  173.         <reservedFamily> 0 </reservedFamily>
  174.         <titleWidth>0</titleWidth>
  175.         <icon>0</icon>
  176.         <textAlign>left</textAlign>
  177.         <font>Chicago</font>
  178.         <textSize>12</textSize>
  179.         <textStyle>plain</textStyle>
  180.         <textHeight>16</textHeight>
  181.         <name>cellsHigh</name>
  182.         <script></script>
  183.     </part>
  184.     <part>
  185.         <id>7</id>
  186.         <type>field</type>
  187.         <visible> <true /> </visible>
  188.         <dontWrap> <false /> </dontWrap>
  189.         <dontSearch> <false /> </dontSearch>
  190.         <sharedText> <false /> </sharedText>
  191.         <fixedLineHeight> <false /> </fixedLineHeight>
  192.         <autoTab> <false /> </autoTab>
  193.         <lockText> <false /> </lockText>
  194.         <rect>
  195.             <left>85</left>
  196.             <top>152</top>
  197.             <right>128</right>
  198.             <bottom>171</bottom>
  199.         </rect>
  200.         <style>rectangle</style>
  201.         <autoSelect> <false /> </autoSelect>
  202.         <showLines> <false /> </showLines>
  203.         <wideMargins> <false /> </wideMargins>
  204.         <multipleLines> <false /> </multipleLines>
  205.         <reservedFamily> 0 </reservedFamily>
  206.         <titleWidth>0</titleWidth>
  207.         <icon>0</icon>
  208.         <textAlign>left</textAlign>
  209.         <font>Chicago</font>
  210.         <textSize>12</textSize>
  211.         <textStyle>plain</textStyle>
  212.         <textHeight>16</textHeight>
  213.         <name>repTimes</name>
  214.         <script></script>
  215.     </part>
  216.     <part>
  217.         <id>8</id>
  218.         <type>field</type>
  219.         <visible> <true /> </visible>
  220.         <dontWrap> <false /> </dontWrap>
  221.         <dontSearch> <false /> </dontSearch>
  222.         <sharedText> <false /> </sharedText>
  223.         <fixedLineHeight> <false /> </fixedLineHeight>
  224.         <autoTab> <false /> </autoTab>
  225.         <lockText> <false /> </lockText>
  226.         <rect>
  227.             <left>77</left>
  228.             <top>184</top>
  229.             <right>120</right>
  230.             <bottom>203</bottom>
  231.         </rect>
  232.         <style>rectangle</style>
  233.         <autoSelect> <false /> </autoSelect>
  234.         <showLines> <false /> </showLines>
  235.         <wideMargins> <false /> </wideMargins>
  236.         <multipleLines> <false /> </multipleLines>
  237.         <reservedFamily> 0 </reservedFamily>
  238.         <titleWidth>0</titleWidth>
  239.         <icon>0</icon>
  240.         <textAlign>left</textAlign>
  241.         <font>Chicago</font>
  242.         <textSize>12</textSize>
  243.         <textStyle>plain</textStyle>
  244.         <textHeight>16</textHeight>
  245.         <name>pauseTicks</name>
  246.         <script></script>
  247.     </part>
  248.     <part>
  249.         <id>9</id>
  250.         <type>field</type>
  251.         <visible> <true /> </visible>
  252.         <dontWrap> <false /> </dontWrap>
  253.         <dontSearch> <false /> </dontSearch>
  254.         <sharedText> <false /> </sharedText>
  255.         <fixedLineHeight> <false /> </fixedLineHeight>
  256.         <autoTab> <false /> </autoTab>
  257.         <lockText> <false /> </lockText>
  258.         <rect>
  259.             <left>184</left>
  260.             <top>216</top>
  261.             <right>227</right>
  262.             <bottom>235</bottom>
  263.         </rect>
  264.         <style>rectangle</style>
  265.         <autoSelect> <false /> </autoSelect>
  266.         <showLines> <false /> </showLines>
  267.         <wideMargins> <false /> </wideMargins>
  268.         <multipleLines> <false /> </multipleLines>
  269.         <reservedFamily> 0 </reservedFamily>
  270.         <titleWidth>0</titleWidth>
  271.         <icon>0</icon>
  272.         <textAlign>left</textAlign>
  273.         <font>Chicago</font>
  274.         <textSize>12</textSize>
  275.         <textStyle>plain</textStyle>
  276.         <textHeight>16</textHeight>
  277.         <name>scaleFactor</name>
  278.         <script></script>
  279.     </part>
  280.     <name></name>
  281.     <script></script>
  282. </background>
  283.