loading .doc .docx file into flex component from javascript which is called from flex actionscript
-
03-07-2022 - |
문제
I can load a pdf file into a flex component by calling the following javascript from actionscript:
document.getElementById("pdfFrame").innerHTML = "<object id='pdfIFrame' data='"+url+"' type='application/pdf'> </object>";
I pass this function a URL indicating the location of the pdf file which is to be loaded.
This is working fine.
Now, i want to use same method for loading .doc and .docx files, so i am changed the type to 'application/msword', which is the MIME type for Word files. I have confirmed this for my file. But the Word file is not getting loaded .
Can anybody point me in the right direction?
Thank you
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow