P800/P802

White Paper, January 2003

SMIL Example

As an example, consider a two-slide message. In this case it was created using the Sony Ericsson MMS Home Studio described in the Personalisation and Customisation section of this document.

 

Slide 1

Slide 2

 

Picture (Slide_1.jpg)

Picture (Slide_2.jpg)

 

Text “this is my new car”

No text

 

Audio: Slide_1.midi

Audio: Slide_2.amr

 

 

 

The following files are used:

Slide.txt contains the text for slide 1. The SMIL conveyed in the mms.smil file looks like this example:

<smil>

<head>

<meta name="title" content="untitled" /> <meta name="author" content="MMS" /> <layout>

<root-layout width="160" height="160" />

<region id="Image" width="160" height="120" left="0" top="0" /> <region id="Text" width="160" height="20" left="0" top="120" /> </layout>

</head>

<body>

<par dur="35.723s">

<img src="Slide_1.jpg" region="Image" /> <audio src="Slide_1.mid" end="35.723s" /> <text src="Slide.txt" region="Text" /> </par>

<par dur="6.026s">

<img src="Slide_2.jpg" region="Image" /> <audio src="Slide_2.amr" end="6.026s" /> </par>

</body>

</smil>

The components of the message will be encapsulated, like in the example below:

50