I can NOT user this function supported by Adobe Corp.
this JavaScript function is :
function getFlashMovie(movieName) {
var isIE = navigator.appName.indexOf("Microsoft") != -1;
return (isIE) ? window[movieName] : document[movieName];
}
Because Desktop Gadget can NOT use JavaScript's window / document..
I Can not Transfer this Sample into Desktop Gadget.
Would you like to Help me?
Thanks very much.
On 4月10日, 上午9時01分, Arthur <[email protected]> wrote:
> Dear All:
>
> I am developing a Google Desktop Gadget.
> And I find I cannot use JavaScript's "window" & "document" object,
> ex. window.navigator.appName / document.getElementById(xxx) ....These
> all cannot work.
>
> Now, I need a function that FLASH / JavaScript transfer data and
> interact.
> like this URL
> --http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15683#ex...
>
> In HTML Page, this function has work.
> But, I put this function in Desktop Gadget, It cannot work.
>
> function getFlashMovie(movieName) {
> return window[movieName]
> //return document[movieName];
> }
>
> How Can I put these JavaScript code in Desktop Gadget's .js file and
> make it work?
>
> Would you like to Help me?
> Thanks very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Desktop-Developer?hl=en
-~----------~----~----~----~------~----~------~--~---