文章摘要
这篇文章描述了一个使用Flex布局设计的网页界面,其中`initApp`函数用于在初始化时设置文本字段内容为“草山狐随笔”,而`openUrl`函数则用于导航到指定的网络地址`http://www.idceye.cn/`。文章重点介绍了如何通过简单的HTML代码和内部函数实现页面布局和功能。
layout=”absolute” width=”278″ height=”244″>
internal function initApp():void{
var str:String=”草山狐随笔“;link.htmlText=str;
}
internal function openUrl():void{
navigateToURL(new URLRequest(“http://www.idceye.cn/”), “_blank”);
}]]>
© 版权声明
文章版权归作者所有,未经允许请勿转载。