开发者

calling xml file and swf files in html page

开发者 https://www.devze.com 2023-01-18 13:55 出处:网络
How i can call xmland swf filesin html page i hav to display flash 开发者_如何学运维imageStart learning from:

How i can call xml and swf files in html page i hav to display flash 开发者_如何学运维image


Start learning from:

http://www.w3schools.com/flash/flash_inhtml.asp

http://www.w3schools.com/XML/default.asp


Flash can be easily embedded as follows: (Some help from this site) Basically, just change the filename to the correct one, the size, etc, and you're good to go.

<embed src="example.swf" quality="high" bgcolor="#ffffff"
width="468" height="60" 
name="mymoviename" align="" type="application/x-shockwave-flash" 
pluginspage="http://www.macromedia.com/go/getflashplayer"> 
</embed>

XML data is a bit trickier, the best way is with some javascript. This example taken from this page.

<xml Id = msg>
<message>
               <to> Visitors </to>
               <from> Author </from>
               <Subject> XML Code Islands </Subject>
               <body> In this example, XML code is embedded inside HTML code </body>
</message>
</xml> 
0

精彩评论

暂无评论...
验证码 换一张
取 消