Warning, /multimedia/kmplayer/tests/scroll.smil is written in an unsupported language. File is not indexed.
0001 <smil> 0002 <head> 0003 <layout> 0004 <root-layout width="400" height="300" background-color="orange"/> 0005 <region fit="scroll" left="5" top="5" right="5" bottom="5"> 0006 <region width="480" height="360"> 0007 <region id="r1" left="5" top="5" width="10" height="10" 0008 background-color="black"/> 0009 <region id="r2" right="5" top="5" width="10" height="10" 0010 background-color="black"/> 0011 <region id="r3" right="5" bottom="5" width="10" height="10" 0012 background-color="black"/> 0013 <region id="r4" left="5" bottom="5" width="10" height="10" 0014 background-color="black"/> 0015 <region id="colors1" left="280" top="10" width="60" height="60"/> 0016 <region fit="scroll" left="160" top="120" width="240" height="180"> 0017 <region id="inner" width="320" height="240" background-color="brown"> 0018 <region id="r5" left="5" top="5" width="10" height="10" 0019 background-color="black"/> 0020 <region id="r6" right="5" top="5" width="10" height="10" 0021 background-color="black"/> 0022 <region id="r7" right="5" bottom="5" width="10" height="10" 0023 background-color="black"/> 0024 <region id="r8" left="5" bottom="5" width="10" height="10" 0025 background-color="black"/> 0026 </region> 0027 </region> 0028 </region> 0029 </region> 0030 </layout> 0031 </head> 0032 <body> 0033 <par> 0034 <set targetElement="r1" attribute="background-color" to="red" 0035 begin="r1.activateEvent" dur="2"/> 0036 <set targetElement="r2" attribute="background-color" to="red" 0037 begin="r2.activateEvent" dur="2" fill="remove"/> 0038 <set targetElement="r3" attribute="background-color" to="red" 0039 begin="r3.activateEvent" dur="2" fill="remove"/> 0040 <set targetElement="r4" attribute="background-color" to="red" 0041 begin="r4.activateEvent" dur="2" fill="remove"/> 0042 <seq repeat="20"> 0043 <set targetElement="colors1" attribute="background-color" to="red" 0044 dur="2"/> 0045 <set targetElement="colors1" attribute="background-color" to="white" 0046 dur="2"/> 0047 <set targetElement="colors1" attribute="background-color" to="blue" 0048 dur="2"/> 0049 </seq> 0050 <set targetElement="r5" attribute="background-color" to="red" 0051 begin="r5.activateEvent" dur="2"/> 0052 <set targetElement="r6" attribute="background-color" to="red" 0053 begin="r6.activateEvent" dur="2" fill="remove"/> 0054 <set targetElement="r7" attribute="background-color" to="red" 0055 begin="r7.activateEvent" dur="2" fill="remove"/> 0056 <set targetElement="r8" attribute="background-color" to="red" 0057 begin="r8.activateEvent" dur="2" fill="remove"/> 0058 <brush id="brush1" region="inner" left="200" top="10" 0059 width="60" height="60"/> 0060 <seq repeat="20"> 0061 <set targetElement="brush1" attribute="color" to="green" 0062 dur="1"/> 0063 <set targetElement="brush1" attribute="color" to="yellow" 0064 dur="1"/> 0065 <set targetElement="brush1" attribute="color" to="black" 0066 dur="1"/> 0067 </seq> 0068 </par> 0069 </body> 0070 </smil>