XML - Managing Data Exchange/SMIL/Answers
(Redirected from XML - Managing Data Exchange/SMIL (Answers))
- Create a simple SMIL file which displays the words, 'Hello World'. Confirm that the file works in a SMIL-conformant player.
- Author a SMIL file which displays 'Hello World' for 3 seconds, then displays 'Goodbye World' for 1 second. Confirm that the file works in a SMIL-conformant player.
Answer
edit1. Submitted by Anne Rayborn Howard
File Exercise1.smil
1 2 3 4 5 6 7 8 9 10 11 |
<smil>
<head>
<layout>
<root-layout width="200" height="75" background-color="white" />
<region id="text" left="0" top="0" width="200" height="75" />
</layout>
</head>
<body>
<text src="Exercise1.rt" alt="Hello World" region="text" dur="1s" begin="0s" />
</body>
</smil>
|
File Exercise1.rt
1 |
Hello World! |
2. Submitted by Anne Rayborn Howard
File Exercise2.smil
1 2 3 4 5 6 7 8 9 10 11 12 |
<smil>
<head>
<layout>
<root-layout width="200" height="75" background-color="white" />
<region id="text" left="0" top="0" width="200" height="75" />
</layout>
</head>
<body>
<text src="Exercise1.rt" alt="Hello World" region="text" dur="3s" begin="0s" />
<text src="Exercise2.rt" alt="Goodbye World" region="text" dur="1s" begin="0s" />
</body>
</smil>
|
File Exercise2.rt
1 |
Goodbye World! |
3. Submitted by (your name here)
If you have MS Powerpoint, you can use the Smil Generator for Powerpoint presentations to convert your powerpoint.
1 2 3 |
4. Submitted by (Your Name Here!)
1 2 3 |