rsilva
20th September 2011, 22:04
Hi, as I've said in the title, I'm using QAxWidget to load my flash file and communicate between then by the ExternalInterface.
Sorry if it isn't the right place to ask. Don't know if this is an "Active x" question, but...
My problem is:
When I use QAxWidget::dynamicCall("playSong(const QString&)", "url");
Nothing happens and I have this output:
QAxBase::dynamicCallHelper: playSong(QString): No such property in {d27cdb6e-ae6d-11cf-96b8-444553540000} [Shockwave Flash Object]
But when using QWebView and calling the same function with evaluateJavascript it works.
(i. e. document['myFlashFile'].playSong("url");)
In my swf file I'm using ExternalInterface.addCallback("playSong", this.playSong);
I've did some searchs but find nothing about it, what I've found was some problems using other objects.
Sorry again, if this is a wrong place and thanks for reading (and for helping).
Sorry if it isn't the right place to ask. Don't know if this is an "Active x" question, but...
My problem is:
When I use QAxWidget::dynamicCall("playSong(const QString&)", "url");
Nothing happens and I have this output:
QAxBase::dynamicCallHelper: playSong(QString): No such property in {d27cdb6e-ae6d-11cf-96b8-444553540000} [Shockwave Flash Object]
But when using QWebView and calling the same function with evaluateJavascript it works.
(i. e. document['myFlashFile'].playSong("url");)
In my swf file I'm using ExternalInterface.addCallback("playSong", this.playSong);
I've did some searchs but find nothing about it, what I've found was some problems using other objects.
Sorry again, if this is a wrong place and thanks for reading (and for helping).