Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1057

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Creating content from source files
The following code creates a presentation with three slides from source files in different locations:
<cfpresentation title="Garden Mania" directory="gardenPresentation">
<cfpresentationslide title="Seeds of Change" src="c:\gardening\seeds.html"
audio="media\hendrix.mp3" duration="30"/>
<cfpresentationslide title="Flower Power" src="shockwave\flowerPower.swf" duration="40"/>
<cfpresentationslide title="Dig Deep" src="http://www.smartgarden.com/index.htm"
duration="15"/>
</cfpresentation>
In this example, ColdFusion generates the files required to run the presentation in the gardenPresentation directory.
It generates a new SWF file in the data subdirectory from each of the slides. ColdFusion also copies the hendrix.mp3
file and saves it in the data subdirectory.
Note: Links within slides created from HTML files are not active.
Creating content from HTML and CFML code
If you do not specify a source file for a slide, create the content by using HTML or CFML in the
tag body. The following presentation contains one slide with each with the following types of content:
• Generated from HTML
• Generated from HTML and CFML
• Extracted from an HTML file on an external website
Last updated 1/20/2012
1052
cfpresentationslide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents