1
我的代碼如下,但背景也不透明..我該怎麼辦?如何通過ActiveX顯示swf並設置透明背景?
QAxWidget *flash = new QAxWidget(0,0);
flash->resize(200,200);
flash->setControl(QString::fromUtf8("{d27cdb6e-ae6d-11cf-96b8-444553540000}"));
flash->dynamicCall("LoadMovie(long,string)",0,"D:/test.swf");
flash->dynamicCall("WMode", "transparent");
flash->show();
順便說,,在Qt中,有沒有另一種方式來顯示SWF?謝謝....