Your browser does not support JavaScript!
ARROW PRODUCTS HOME
ARROW HI-CAPTION HOME
ARROW FLASH PRODUCTS HOME
ARROW Interface
ARROW Flash MX Home
ARROW Flash MX 2004/8 Home
ARROW Tutorial: Flash MX
ARROW Tutorial: Flash MX 2004/8
ARROW INFORMATION REQUEST
ARROW REQUEST TRIAL
ARROW CONTACT SALES
ARROW SERVICES
 
*  Hi-Caption™  XML DTD
 
 
Hi-Caption LogoHiSoftwareŽ Hi-Caption™ SE for use with MacromediaŽ Flash™ - XML Captioning File DTD

The Hi-Caption extension for Flash allows you to provide a captioning control panel for your flash presentations and movies. This extension can read a XML file to provide the Captioning. This file is created (optionally) by Hi-Caption SE.

The Hi-Caption SE XML Format DTD Download the DTD:
http://www.hisoftware.com/public/hicaptionxml.dtd

Hi-Caption SE XML Caption File Example:
http://www.hisoftware.com/hmccflash/seattle.xml

DTD

Multi Language Example XML Captioning File Example


DTD

<!-- Copyright 2003 HiSoftware, Inc. All Rights Reserved. -->

<!ELEMENT HiCaptionCC (hmccheader,captionset+)>

<!ELEMENT hmccheader (ccCopyright?,ccMedia?,ccMetrics,ccStyles)>
<!ELEMENT ccCopyright EMPTY>
<!ATTLIST ccCopyright
copyrightVal CDATA #REQUIRED
>

<!ELEMENT ccMedia EMPTY>
<!ATTLIST ccMedia
mediaFile CDATA #REQUIRED
>

<!ELEMENT ccMetrics EMPTY>
<!ATTLIST ccMetrics
timing (ms|frames) #REQUIRED
duration CDATA #REQUIRED
>

<!ELEMENT ccStyles (ccStyle+)>

<!ELEMENT ccStyle (#PCDATA)>
<!ATTLIST ccStyle
ccStyleName CDATA #REQUIRED
ccStyleType (caption|id|tag) #REQUIRED
ccLang CDATA #IMPLIED
ccName CDATA #IMPLIED
>

<!ELEMENT captionset (cc+)>
<!ATTLIST captionset
styleClass CDATA #REQUIRED
>
<!ELEMENT cc (speaker,caption)>
<!ATTLIST cc
start CDATA #REQUIRED
>
<!ELEMENT speaker (#PCDATA)>
<!ATTLIST speaker
styleId CDATA #REQUIRED
>

<!ELEMENT caption (#PCDATA)>

 

top


Sample XML

<HiCaptionCC>

<hmccheader>


<ccMedia mediaFile="seattle.wmv" />
<ccMetrics timing="ms" duration="34216" />
<ccStyles>
<ccStyle ccStyleName="P" ccStyleType="tag">
margin-top:3pt; margin-left:5pt; font-size: 10pt;
font-family: tahoma, sans-serif; font-weight: normal;
color: white;
</ccStyle>
<ccStyle ccStyleName="ENUSCC" ccStyleType="caption" ccLang="en-US" ccName="&apos;English Captions&apos; lang: en-US">
Name:&apos;English Captions&apos; lang: en-US; SAMIType:CC;
</ccStyle>
<ccStyle ccStyleName="escc-blanca" ccStyleType="caption" ccLang="es" ccName="escc-blanca">
name:escc-blanca; lang:es;
font-family:Verdana;
font-style:normal;
font-weight:normal;
font-size:10pt;
text-align:left;
</ccStyle>
</ccStyles>

</hmccheader>


<captionset styleClass="ENUSCC">

<cc start="1000">
<speaker styleId="Source"></speaker>
<caption>Great reason to visit Seattle, brought to you by two out-of-staters.</caption>
</cc>
<cc start="4000">
<speaker styleId="Source"></speaker>
<caption>So you know, there&apos;s lots of great reasons to come visit Seattle.</caption>
</cc>
<cc start="7000">
<speaker styleId="Source"></speaker>
<caption>That&apos;s right, I came here because of the coffee.</caption>
</cc>
<cc start="9000">
<speaker styleId="Source"></speaker>
<caption>Yah, everyone knows the coffee.</caption>
</cc>
<cc start="12000">
<speaker styleId="Source"></speaker>
<caption>And I heard about the drivers.</caption>
</cc>
<cc start="14000">
<speaker styleId="Source"></speaker>
<caption>Well, you know, but then it rains...and it&apos;s bad, it&apos;s bad.</caption>
</cc>
<cc start="19000">
<speaker styleId="Source"></speaker>
<caption>But the traffic in general is...</caption>
</cc>
<cc start="21000">
<speaker styleId="Source"></speaker>
<caption>Terrible.</caption>
</cc>
<cc start="23000">
<speaker styleId="Source"></speaker>
<caption>OK, yah, yah. But, the weather!</caption>
</cc>
<cc start="26500">
<speaker styleId="Source"></speaker>
<caption>It doesn&apos;t rain all the time...yes, it does.</caption>
</cc>
<cc start="30000">
<speaker styleId="Source"></speaker>
<caption>Yah. Nevermind.</caption>
</cc>
<cc start="34000">
<speaker styleId="Source"></speaker>
<caption>End of Stream.</caption>
</cc>

</captionset>

<captionset styleClass="escc-blanca">

<cc start="1000">
<speaker styleId="Source"></speaker>
<caption>Una buena raz&#243;n para visitar Seattle, que te presentan dos for&#225;neos</caption>
</cc>
<cc start="4000">
<speaker styleId="Source"></speaker>
<caption>Sabes, hay montones de buenas razones para venir a visitar Seattle.</caption>
</cc>
<cc start="7000">
<speaker styleId="Source"></speaker>
<caption>Es verdad, yo vengo por el caf&#233;.</caption>
</cc>
<cc start="9000">
<speaker styleId="Source"></speaker>
<caption>S&#237;, todo el mundo conoce el caf&#233;.</caption>
</cc>
<cc start="12000">
<speaker styleId="Source"></speaker>
<caption>Y he o&#237;do hablar sobre lo conductores.</caption>
</cc>
<cc start="14000">
<speaker styleId="Source"></speaker>
<caption>Bien, sabes, pero entonces llueve...y es una pena. es una pena.</caption>
</cc>
<cc start="19000">
<speaker styleId="Source"></speaker>
<caption>Pero el tr&#225;fico en general es...</caption>
</cc>
<cc start="21000">
<speaker styleId="Source"></speaker>
<caption>Terrible.</caption>
</cc>
<cc start="23000">
<speaker styleId="Source"></speaker>
<caption>De acuerdo, s&#237;, s&#237;. Pero, &#161;el tiempo!</caption>
</cc>
<cc start="26500">
<speaker styleId="Source"></speaker>
<caption>No llueve todo el tiempo...s&#237;, llueve.</caption>
</cc>
<cc start="30000">
<speaker styleId="Source"></speaker>
<caption>Si. Da igual.</caption>
</cc>
<cc start="34000">
<speaker styleId="Source"></speaker>
<caption>Fin.</caption>
</cc>

</captionset>

</HiCaptionCC>
 

top