|
|
fusionchart图表,使用FlashVars指定xml文件,但是每次都得点击三次按钮才更新图表,一直找不出原因,麻烦指点
- import win.ui;
- import com.flash
- /*DSG{{*/
- var winform = ..win.form(text="aardio Form";right=599;bottom=399)
- winform.add(
- button={cls="button";text="button";left=190;top=358;right=288;bottom=391;z=2};
- custom={cls="custom";text="custom";left=73;top=43;right=521;bottom=342;autosize=1;center=1;edge=1;transparent=1;z=1}
- )
- /*}}*/
- winform.button.oncommand = function(id,event){
- flash._object.FlashVars="&dataURL=model.xml"
- flash.play()
- }
- flash = com.flash(winform.custom)
- flash.movie = "/Column3D.swf"
- flash._object.FlashVars="&dataURL=model_df.xml"
- flash.play()
- winform.show();
- win.loopMessage();
复制代码
|
|