FLASH效果,通过xml文件链接数据
文件如下
<BODY>
<SCRIPT src="swfobject.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript>
var flashvars = {};
flashvars.myxmlpath = 'content.xml';
flashvars.type = 'content';
flashvars.decription = '0';
flashvars.textstyle = '';
flashvars.descordinate = '';
flashvars.startItem = '4';
flashvars.flowFadeSpace = '500';
flashvars.flowAnimationTweenType = 'Regular';
flashvars.flowAnimationSpeed = '5';
flashvars.slideShowTime = '1000';
flashvars.slideShow = '1';
flashvars.slideShowLoop = '1';
flashvars.imagePadding = '130';
flashvars.angle = '45';
flashvars.vertical = '0.2';
flashvars.iwidth = '';
flashvars.iheight = '';
flashvars.listheight = '200';
flashvars.alpha = '40';
flashvars.clipAlpha = '100';
flashvars.distance = '2';
flashvars.matrixRatio = '255';
flashvars.matrixDropOff = '3';
var params = {};
params.menu = 'true';
params.width = '958';
params.height = '300';
params.src = 'flowlist_xml.swf';
params.quality = 'high';
params.pluginspage = 'http://www.macromedia.com/go/getflashplayer';
params.align = 'middle';
params.play = 'true';
params.loop = 'false';
params.scale = 'showall';
params.wmode = 'transparent';
params.devicefont = 'false';
params.bgcolor = '';
params.allowFullScreen = 'sameDomain';
params.salign = '';
var attributes = {};
attributes.id = "flowlist_xml";
attributes.name = "flowlist_xml";
swfobject.embedSWF('flowlist_xml.swf', 'ejsiwt', '958','300', "8.0.0",'', flashvars, params, attributes);
</SCRIPT>
<DIV id=ejsiwt></DIV><NOSCRIPT>
<OBJECT id=flowlist_xml
codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0
height=300 width=950 align=middle
classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000><PARAM NAME="allowScriptAccess" VALUE="sameDomain"><PARAM NAME="allowFullScreen" VALUE="true"><PARAM NAME="movie" VALUE="flowlist_xm
相关文档:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using i_salesDAL;
using i_s ......
C# code
// Load the style sheet.
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load("output.xsl");
// Execute the transform and output the results to a file.
xslt.Transform("books.xml", "books.html");
......
JAVA操作XML的完整例子——W3C DOM
JAVA操作XML的完整例子——W3C DOM篇收藏
这是一个用JAVA W3C DOM 进行XML操作的例子,包含了查询、增加、修改、删除、保存的基本操作。较完整的描述了一个XML的整个操作流程。适合刚入门JAVA XML操作的朋友参考和学习。
假设有XML文件:test1.xml
<?xml v ......
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical"
verticalAlign="middle"
backgroundColor="white" viewSourceURL="srcview/index.html">
<mx:S ......