• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 38. Synchronized Multimedia Inte... > SMIL Is an XML-Based Language

SMIL Is an XML-Based Language

SMIL is an XML-based language that incorporates the precision and versatility of extensible code. If you're already adhering to the rules of XHTML, then learning how to code in SMIL (pronounced "smile") is really quite easy—at least in the beginning stages. You can see a snippet of SMIL code in Listing 38.1. You probably recognize many of the tags.

Listing 38.1. SMIL Sample

<smil>
   <head>
<layout>
<root-layout width="320" height="240"
   background-color="white" />
<region id="ed_button" left="0" top="20"
   width="125" height="22" />
</layout>
     </head>
     <body>
<img src="ed_button.gif" alt="button"
   region="ed_button" dur="2s" begin="2s" />
    </body>
</smil>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint