flex易做图 刷新重新加载内容 急急急!!!!!
最近项目中用到了flex易做图现实swf文件的功能,都可以正常现实,但是在刷新的问题上解决不了,求大神啊。var swfpath = data.rowindex;
var swfVersionStr = "11.0.0";
var xiSwfUrlStr = "${expressInstallSwf}";
var flashvars = {
SwfFile : escape(""+swfpath+"?t="+Math.random()),
Scale : 0.6,
ZoomTransition : 'easeOut',
ZoomTime : 0.5,
ZoomInterval : 0.4,
FitPageOnLoad : false,
FitWidthOnLoad : true,
FullScreenAsMaxWindow : false,
ProgressiveLoading : true,
MinZoomSize : 0.2,
MaxZoomSize : 5,
SearchMatchAll : false,
InitViewMode : 'Portrait',
PrintPaperAsBitmap : false,
PrintEnabled : false,
ViewModeToolsVisible : false,
ZoomToolsVisible : false,
NavToolsVisible : false,
CursorToolsVisible : false,
SearchToolsVisible : false,
localeChain : 'zh_CN'
};
var params = {
}
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "FlexPaperViewer";
attributes.name = "FlexPaperViewer";
swfobject.embedSWF(
"<%=request.getContextPath()%>/flex易做图/swf/FlexPaperViewer.swf", "flashContent",
"100%", "600",
swfVersionStr, xiSwfUrlStr,
flashvars, params, attributes);
swfobject.createCSS("#flashContent", "display:block;text-align:center;");
swfpath是动态的,没点击一次,DWR异步读取一个地址出来,调用上面的代码一次,但是就第一次有效果,再点击的话,flex易做图显示的东西不变,还是第一次出来的那个swf文件,求大神。。。。。。 flex易做图
补充:Java , Web 开发