我创建了一个图片幻灯片 Flash 并放入一个 C# 网站项目。
这是我的xml文件
<?xml version="1.0" encoding="UTF-8" ?>
<flash_parameters copyright="socusoftFSMTheme">
<preferences>
<global>
<basic_property movieWidth="484" movieHeight="402" html_title="Title" loadStyle="Bar" startAutoPlay="true" continuum="true" socusoftMenu="false" backgroundColor="0x002780" hideAdobeMenu="false" photoDynamicShow="true" enableURL="false" transitionArray=""/>
<title_property showTitle="true" photoTitleColor="0x000080" backgroundColor="0xffffff" alpha="50" autoHide="true"/>
<music_property path="" stream="true" loop="true"/>
<photo_property topPadding="0" bottomPadding="0" leftPadding="0" rightPadding="0"/>
<properties enable="true" backgroundColor="0xffffff" backgroundAlpha="30" cssText="a:link{text-decoration: underline;} a:hover{color:#ff0000; text-decoration: none;} a:active{color:#0000ff;text-decoration: none;} .blue {color:#0000ff; font-size:15px; font-style:italic; text-decoration: underline;} .body{color:#ff5500;font-size:20px;}" align="top"/>
</global>
<thumbnail>
<basic_property showPreview="true" backgroundColor="0x000000" backgroundAlpha="70" buttonColor="0xffffff" numberColor="0x000000" currentNumberColor="0xffffff"/>
</thumbnail>
</preferences>
<album>
<slide jpegURL="ethumb/t_0001.jpg" d_URL="slides/p_0001.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" title="t-shirt" width="484" height="402"/>
<slide jpegURL="ethumb/t_0002.jpg" d_URL="slides/p_0002.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" title="golf" width="484" height="402"/>
<slide jpegURL="ethumb/t_0003.jpg" d_URL="slides/p_0003.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" title="ball" width="484" height="402"/>
<slide jpegURL="ethumb/t_0004.jpg" d_URL="slides/p_0004.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" title="shoe" width="484" height="402"/>
<slide jpegURL="ethumb/t_0005.jpg" d_URL="slides/p_0005.jpg" transition="0" panzoom="1" URLTarget="0" phototime="2" title="apu" width="484" height="402"/>
</album>
我粘贴在我的asp网站上的代码
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="704" height="402" id="tech">
<param name="movie" value="flash home.swf?xml_path=home.xml" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<object type="application/x-shockwave-flash" data="flash home.swf?xml_path=home.xml" width="704" height="402">
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
</object>
</object>
所以,我想允许用户在 <"album"> <"/album"> 之间插入一个新的 "<"slide">" 到 xml 文件中。
任何帮助将不胜感激。
对不起我的英语不好。
谢谢你。