Close this window

Using the <flash> tag

Description

The 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.

Example

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:

Example

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.

Attributes(what's this?)

Children(what's this?)

param, term, cite, cite-title, foreign, emphasis, sub, sup, code, preformat, quote, note, list, audio, flash, video, java-applet, image, labview, download, Unicode text

Parents(what's this?)

media, audio, flash, video, java-applet, image, labview, download
Close this window