2006 02-28
评论
(0)

简单的xml gallery图片库

February 28th, 2006
弄成多列分页,有许多网友都说麻烦复杂.不如只是一页一页的点击方便.如下 演示:点击这里 源文件下载 或是去ws-forum查看代码,并参加讨论
2006 01-15
评论
(0)

flash xml dynamic pages-动态分页

January 15th, 2006
有人在论坛上问起用在xml中分页的问题.之前总是用滚动的方法.这个例子中用了遮罩.将thumbnail缩略图分成行和列.可以动态的生成页数. 查看演示 源文件下载 不过我想除了这个方法外,可能还有更好的办法.如果有好方法分享一下.在这里留言或是去ws-forum.:)
2005 04-24
评论
(0)

flash xml CDATA (2)

April 24th, 2005
继上一下xml cdata后的使用xml cdata更具体一点的范例。 //copyright by webstudio.com.cn 2005.04.24 System.useCodepage=true; Stage.scaleMode = "noscale"; myXML = new XML(); myXML.ignoreWhite = true; // 创建一个动态文本 createTextField("mytext", this.getNextHighestDepth, 10, 10, "350", "250"); mytext.html = true; mytext.multiline = true; mytext.wordWrap=true; //mytext.autoSize = true; myXML.onLoad = function(succes) { if (succes) { var parent = this.firstChild.childNodes; trace(parent); title = parent[0].firstChild.nodeValue; categoria = parent[1].firstChild.nodeValue; list = parent[2].firstChild.nodeValue; mytext.htmlText = title; mytext.htmlText += categoria; mytext.htmlText += list; } }; //载入xml myXML.load("http://www.webstudio.com.cn/wsswf/flashxmlcdata/myxml.xml"); [flash]http://www.webstudio.com.cn/wsswf/flashxmlcdata/flash.swf,400,300[/flash] 详情和源文件:这里
2005 04-07
评论
(0)

Dynamic flash xml news–滚动新闻

April 7th, 2005
昨天有人在wsForum的悄悄话上问到水平滚动新闻的问题,做了一个演示文件,并附有代码和源文件...动态内容使用的是XML. [flash]http://www.webstudio.com.cn/wsswf/flashxmlnewst/flashxmlnewst.swf,400,300[/flash] 查看源码和下载