You could also use the ExternalInterface package. There is a method in there called call() where you just pass in the name of the javascript function, followed by any pramaters. Easiest thing to do here would have some setter functions for the vars you want to set so
function setLink(link) { var myLink = link; } on flash import the package; ExternalInterface.call('setLink','www.google.com'); Hope that helps a little! cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-919-517-1568 Tieline: 255-1568 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make sense, conform to your experience, and don't harm yourself or others, only then should you accept them.' From: Liam Potter <radioactiv...@gmail.com> To: jquery-en@googlegroups.com Date: 02/11/2009 05:44 AM Subject: [jQuery] Re: Intercept links from flash no examples, but something like this should work. *flash:* on(release) { getUrl("javascript:var flashLink = 'http://google.com'") } *jQuery:* $(function () { var jsLink = flashLink; }); then you can do what you want to the link in jQuery, as it is held as a string adexcube wrote: > Thanks for your response. > have you got any example or link to check? > > Thanks > > On 11 Feb, 09:55, Liam Potter <radioactiv...@gmail.com> wrote: > >> in the flash rather then using getUrl, you could just send the url to a >> javascript var. >> >> adexcube wrote: >> >>> Hi, I've got a flash object who loads pdf's and there's a lot of links >>> on the pdf. Is there a way to catch or intercept all links with >>> jquery? I want to stop the link redirection, I just want the link >>> itself. >>> I tried livequery with no result. :( >>> >>> Thanks >>>
<<inline: graycol.gif>>
<<inline: ecblank.gif>>