flash tag is used to insert Flash
multimedia into a CNXML document. The multimedia can be images,
SWFs, FLVs, or any object with a valid Flash MIME
type.
This CNXML:
<media id="flash-example" alt="Dancing Connexions">
<flash mime-type="application/x-shockwave-flash"
src="flash2.swf"
width="282"
height="108"/>
</media>
Results in this display:
This CNXML:
<media id="curved-line" alt="Dancing Connexions">
<flash mime-type="application/x-shockwave-flash"
src="flash2.swf"
width="282"
height="108"/>
<image mime-type="image/png"
src="dancing-cnx-still.png"
print-width="4in"
for="pdf"/>
</media>
Results in this display:
This example demonstrates using alternate media for the PDF version of the module. Flash elements cannot be inserted into PDF files. In this case, the Web-ready Flash file will be displayed when viewing the module online and the second element, a still shot from the animation, will be used for the PDF version.
<media> element will only be displayed for the version(s) specified.