ok,..

this is how i access the flash object:

//function to capture flash
getFlashMovie = function(n) {
    if(isIE) {
        return window[n];
    } else {
        return document[n];
    }
}
//implementation:
var oFlash = getFlashMovie("someflashmovie");

//call flash ExternalInterface registered method:
oFlash.somemethod();

What i tried with jQuery was to cut the capturing function and straight to implementation:

var oFlash = $("someflashmovie");

but calling oFlash.somemethod(); now, doesnt work :(

any ideas?

Guntur N. Sarwohadi


On 10/30/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote:
> Does anyone know how to access a flash object with jquery? I have a flash
> movie with a function I need to call from js. It already has a function
> registered as externalInterface and Im able to call it using regular js. I
> would like to know how in jquery. I tried doing the regular $(_expression_)
> but it doesn't work. Sorry if someone has come up to this discussion
> already, i couldn't find a way to search the list of mails from this
> maillist

Could you post your "regular" code? That would help.

--
Jörn Zaefferer

http://bassistance.de
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to