//获得当前路径
QString FilePath=QCoreApplication::applicationDirPath();
FilePath.append("//SWF//DiamondChess.swf");
//启动Flash播放
FlashObj = new QAxWidget(this);
FlashObj->setControl(QString::fromUtf8("{d27cdb6e-ae6d-11cf-96b8-444553540000}"));
FlashObj->dynamicCall("LoadMovie(int,const QString&)",0, FilePath);
FlashObj->dynamicCall("Play");