2012年5月21日
摘要: 采用flex与js之间的交互找到html—template文件下的index.template.html插入//关键代码 function openBrowser() { document.getElementById("fileInput").click(); } function OnFileChange() { //getPath(docum... 阅读全文
posted @ 2012-05-21 17:28 Duz 阅读(768) 评论(0) 推荐(0)
  2012年5月12日
摘要: 在服务器的机子上,新建一个crossdomain.xml文件,文件内容是:<?xmlversion="1.0"?><!DOCTYPEcross-domain-policySYSTEM"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><site-controlpermitted-cross-domain-policies="all"/><allow-access-fromdomai 阅读全文
posted @ 2012-05-12 22:15 Duz 阅读(635) 评论(0) 推荐(0)
  2012年5月11日
摘要: 生成嵌入SWF用的网页的模版输出文件夹是存放生成之后的文件的,html-template保存的是生成这些html的模版。比如说有一个test.mxml文件,编译完成之后会生成test.swf和test.html。这里的test.html就是根据html-template里面的index.template.html生成的。test.html是把index.template.html里面的变量替换成实际的值。原文地址:http://hi.baidu.com/taotao5453Flex 项目中的html-template文件夹包含三个文件和一个文件夹:1、index.template.html. 阅读全文
posted @ 2012-05-11 12:23 Duz 阅读(871) 评论(0) 推荐(0)