MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 333

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

Creating a text report
The
template variable causes Flash to insert all the text from the current Flash SWF file as a
$MT
comment in the HTML code. This is useful for indexing the content of a SWF file and making it
visible to search engines.
Creating a URL report
The
template variable makes Flash generate a list of the URLs referred to by actions in the
$MU
current SWF file and insert it at the current location as a comment. This lets link verification
tools see and verify the links in the SWF file.
Using shorthand template variables
The
(for
$PO
object
elements. Each variable causes Flash to insert into a template any nondefault values for some of
the most common Flash
(
),
SCALE
$SC
SALIGN
of these variables, see the sample template in the following section.
Sample template
The following Default.HTML template file in Flash includes many of the commonly used
template variables:
$TTFlash Only
$DS
Display Macromedia Flash Movie in HTML.
$DF
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
$CS
<title>$TI</title>
</head>
<body bgcolor="$BG">
<!--url's used in the movie-->
$MU
<!--text used in the movie-->
$MT
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://
fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7,0,0,0" width="$WI" height="$HE" id="$TI" align="$HA">
<param name="allowScriptAccess" value="sameDomain" />
$PO
<embed $PEwidth="$WI" height="$HE" name="$TI" align="$HA"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
tags) and
(for
$PE
embed
and
object
embed
(
),
(
),
$SA
WMODE
$WM
DEVICEFONT
tags) template variables are useful shorthand
parameters, including
(
), and
$DE
BGCOLOR
Customizing HTML publishing templates
(
),
(
PLAY
$PL
QUALITY
(
). For an example
$BG
),
$QU
333

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents