Flash Video Encoder User Guide |
|||
| Flash Video Encoder User Guide > About cue points > About the cue point XML file | |||
The cue point XML file lets you save your cue point data, and apply it to other video clips. An example of the file is shown below:
<?xml version="1.0" encoding="UTF-8"?>
<FLVCoreCuePoints>
<CuePoint>
<Time>2000</Time>
<Type>navigation</Type>
<Name>CuePoint1</Name>
<Parameters>
<Parameter>
<Name>CuePoint1</Name>
<Value>Introduction</Value>
</Parameter>
<Parameter>
<Name>Cast</Name>
<Value>ActorNames</Value>
</Parameter>
</Parameters>
</CuePoint>
|
CAUTION |
|
If you modify the cue point XML file and insert invalid values or otherwise malformed XML syntax, Flash Video Encoder will not be able to load the file. |
The cue point XML file's DTD (Document Type Definition) is shown below (A DTD defines the valid document structure of the XML file, with a list of supported elements and their meaning within the XML file itself):
<!DOCTYPE FLVCoreCuePoints [
<!ELEMENT FLVCoreCuePoints (CuePoint+)>
<!-- FLVCoreCuePoints is the root element in the XML file and must contain at least one CuePoint element -->
<!ELEMENT CuePoint (Time, Type, Name, Parameters?)>
<!-- CuePoint contains the data for a particular cue point, and must contain one each of
Time, Type, and Name elements, and may contain one Parameters element -->
<!ELEMENT Time (#CDATA)>
<!-- Time contains the cue point time as an integer in milliseconds -->
<!ELEMENT Type (#CDATA)>
<!-- Type contains the cue point type as a case-sensitive string, either "event" or "navigation" -->
<!ELEMENT Name (#CDATA)>
<!-- Name contains the cue point name as a text string; it also can contain a parameter name when appearing
inside a Parameter element -->
<!ELEMENT Parameters (Parameter+)>
<!-- Parameters contains the cue point's parameters. It must contain at least one Parameter element -->
<!ELEMENT Parameter (Name, Value)>
<!-- Parameter contains the data for one of a cue point's parameters. It must contain one each of
Name and Value elements -->
<!ELEMENT Value (#CDATA)>
<!-- Value contains the value-part of the name-value pair for a cue point parameter -->
]>
In addition to the restrictions enforced by the cue point XML file's DTD, the following characteristics apply to the XML format:
<?xml version="1.0" encoding="UTF-16"?> or a BOM marker in the file.Cue point files that do not successfully load generate a cue point error log (CuePoints_Errors.log) that you can use to troubleshoot potential errors in the XML file. The log file is stored in the following location:
For more information, see Defining and embedding cue points.
Flash CS3
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/flvencoder/FLV_16.html
Comments
ypmits said on Jan 15, 2008 at 9:10 AM : No screen name said on Feb 11, 2008 at 10:58 AM : ugrowemweschickm said on Jul 6, 2008 at 4:51 PM : ugrowemweschickm said on Jul 6, 2008 at 5:46 PM :