QT+flash注意事项

1、连接信号槽connect(flash, SIGNAL(FlashCall(QString)), this, SLOT(onFlashCall(QString)))貌似要在loadMovie之后才有效。

2、使用dynamicCall("CallFunction(string, int)", encoder.GetXML())来调用函数时,xml字符串需要是紧凑的(无换行、无缩进) 。

3、如果使用dynamicCall("LoadMovie(long,string)", 0, "http://127.0.0.1/play_edit.swf");的方式加载的swf,那么flashcall是不可用的(我没有找到解决方案)。

原文地址:https://www.cnblogs.com/k1988/p/2165602.html