Unsolved Help me about put parameter in Shockwave
-
my code:
bArraySwf.append("http://static.game.zing.vn/wjxweb/eflashdir0918/program59/main/TGameLoader.swf"); strHeader.append("auth=c2lkPTEzJnVpZD1waG9iYW50aGllbnF1YW4maXA9MTAuNjAuNjEuMTEmdGltZT0xNTEyMzc2NzQ4JmluZHVsZ2U9biZwcm9tb3Rpb249MA=="); strHeader.append("&sign=ca60fd5b642e84ed2d43f9534b93130d"); ui->axWidget_WebGame->setControl(QString::fromUtf8("{D27CDB6E-AE6D-11CF-96B8-444553540000}")); ui->axWidget_WebGame->setProperty("Playing", true); ui->axWidget_WebGame->setProperty("Profile", false); ui->axWidget_WebGame->setProperty("ProfileAddress", ""); ui->axWidget_WebGame->setProperty("ProfilePort", 0); ui->axWidget_WebGame->dynamicCall("put_FlashVars(QString)", QString(strHeader)); ui->axWidget_WebGame->dynamicCall("LoadMovie(long, QString)", 0, QString(bArraySwf)); ui->axWidget_WebGame->dynamicCall("Play()");
When I run, QT doesn't work and error
QAxBase::dynamicCallHelper: put_FlashVars(QString): No such property in {D27CDB6E-AE6D-11CF-96B8-444553540000} [Shockwave Flash Object] Candidates are: Playing Profile ProfileAddress ProfilePort
How do I fix it? Thanks!