Flex URL 加载资源
1.绝对资源:
<mx:Style source=http://baidu.com/style/style.css>
2.动态路径:
<mx:HTTPService url="@ContextRoot()/demo.xml"/>
3. 编译时路径通常与Flex运行根目录有关
<mx:Scirpt source="/myscript.as"/>
4.相对路径:就是从当前目录下查找资源的文件路径:
<mx:Scirpt source="../demo.as" />
1.绝对资源:
<mx:Style source=http://baidu.com/style/style.css>
2.动态路径:
<mx:HTTPService url="@ContextRoot()/demo.xml"/>
3. 编译时路径通常与Flex运行根目录有关
<mx:Scirpt source="/myscript.as"/>
4.相对路径:就是从当前目录下查找资源的文件路径:
<mx:Scirpt source="../demo.as" />
暂无评论。
评论功能维护中,当前仅展示历史评论。