使用Flashmx2004 professional制作(loader组件、TextArea组件和XMLconnector组件的使用)
1、新建一Flash文档(有点废话)
2、预先写好的一个XML文件featuredbook.XML
代码如下:
Macromedia Dreamweaver MX 2004 with ASP, ColdFusion, and PHP : Training from the Source
Author: Jeffrey Bardzell
Synopsis
Developers of static Web sites who are familiar with HTML as well as Dreamweaver MX 2004''''s design and layout tools should find everything they need here to enter the world of object-oriented programming, servers and database connection.
From the Back Cover
As a designer himself, author Jeffrey Bardzell is keenly aware of the dilemma you''''re faced with today: With clients and users demanding more than the static, HTML pages that defined first-generation Web sites, you have no choice but to migrate to dynamic, service based sites. But that means a world of programming, servers, databases, and configuration options you know little about.
3、在第一层上拖进一个loader组件,设置实例名为cover_ldr, 设定宽为:90,高为100; 再拖进一个TextArea组件, 设置实例名为description_txt, 在“属性检查器”中设置如下:

最后拖进一个XMLconnector组件,设置实例名为XMLcoon,在“属性检查器”中设置如下:
4、打开“组件检查器”,选中XMLconnector组件, 在架构选项卡中,单击“从示例XML文件导入架构”选择featuredbook.XML文件。
5、选中绑定选项卡,单击+号添加绑定,如图,然后双击bound to的值列,选择loader组件,如图。同样再添加一个绑定给TextArea组件,绑定到内容字段,完成如图所示。
5、打开“行为”面板,新建一个图层,选定第一帧,然后添加一个行为如图,选中XMLconnector组件实例XMLcoon,确定后返回。
完成预览:

点击浏览该文件