Re: [jQuery] Access to flash object

2006-11-01 Thread Joel Birch
Yes... VERY interested! Cheers Joel. On 02/11/2006, at 6:40 AM, Wil Stuckey wrote: > On 10/31/06, Sam Sherlock <[EMAIL PROTECTED]> wrote: > UFO Version 3.30 is coming soon sneek peak at http://www.refunk.com/ > ufo/ufo.js > > I'm actually working on a jQuery port of UFO 3.x > > I've got a worki

Re: [jQuery] Access to flash object

2006-11-01 Thread Guntur N. Sarwohadi
Ooh.. me want jquery port of UFO 3.x.. thank you :)[g]On 11/2/06, Wil Stuckey <[EMAIL PROTECTED] > wrote:On 10/31/06, Sam Sherlock < [EMAIL PROTECTED]> wrote: UFO Version 3.30 is coming soon sneek peak at http://www.refunk.com/ufo/ufo.js I'm actually working on a jQuery port of UFO 3.xI've got a

Re: [jQuery] Access to flash object

2006-11-01 Thread Wil Stuckey
On 10/31/06, Sam Sherlock <[EMAIL PROTECTED]> wrote: UFO Version 3.30 is coming soon sneek peak at http://www.refunk.com/ufo/ufo.jsI'm actually working on a jQuery port of UFO 3.xI've got a working port of UFO 2.0 sans a few features that we did not need here. I would be willing to post it if any

Re: [jQuery] Access to flash object

2006-11-01 Thread Sam Sherlock
UFO Version 3.30 is coming soon sneek peak at http://www.refunk.com/ufo/ufo.js On 31/10/06, Luke Lutman <[EMAIL PROTECTED]> wrote: You make a good point about mobile devices, etc. Klaus -- point taken.I'm still not convinced about using though -- for me it's gota number of cons:* It's messy -- y

Re: [jQuery] Access to flash object

2006-10-31 Thread Luke Lutman
You make a good point about mobile devices, etc. Klaus -- point taken. I'm still not convinced about using though -- for me it's got a number of cons: * It's messy -- you need different code for different browsers. All the browsers support , but IE wants a different than the rest. * It does

Re: [jQuery] Access to flash object

2006-10-31 Thread Klaus Hartl
Luke Lutman schrieb: > This probably won't be a popular opinion, but fwiw ... > > Although the W3C would like us all to stick our heads in the sand and > pretend doesn't exist, it is (imho) the way to go -- it's a de > facto standard. , by itself, works with all the browsers on > jQuery's supp

Re: [jQuery] Access to flash object

2006-10-30 Thread Luke Lutman
This probably won't be a popular opinion, but fwiw ... Although the W3C would like us all to stick our heads in the sand and pretend doesn't exist, it is (imho) the way to go -- it's a de facto standard. , by itself, works with all the browsers on jQuery's support list (it even works with expr

Re: [jQuery] Access to flash object

2006-10-30 Thread Ⓙⓐⓚⓔ
I have given up on embeds and objects directly in the html. flash always works. if they don't have the software, the browser will assist these folks or allow them to download the file. jquery can catch these requests and convert them into a pleasant / and permit control over it!

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
heheh ok then.. thanks again!On 10/31/06, Matt Stith <[EMAIL PROTECTED]> wrote: Well for one, you wouldnt have to keep emailing us. :)I wouldnt recommend using the approch you were using (window[n] = depricated i belive), Im not sure what else you could try, but im sure a little research could help

Re: [jQuery] Access to flash object

2006-10-30 Thread Matt Stith
Well for one, you wouldnt have to keep emailing us. :)I wouldnt recommend using the approch you were using (window[n] = depricated i belive), Im not sure what else you could try, but im sure a little research could help. jQuery takes a relatively long time to find elements compared to using native

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
does it really? hmmm.. can you list any other advantages? thanks!On 10/31/06, Matt Stith <[EMAIL PROTECTED] > wrote:Because it would be easier/faster not to. On 10/30/06, Guntur N. Sarwohadi <[EMAIL PROTECTED] > wrote: Why do you want to use jQuery for this? Why not? :) _

Re: [jQuery] Access to flash object

2006-10-30 Thread Matt Stith
Because it would be easier/faster not to.On 10/30/06, Guntur N. Sarwohadi <[EMAIL PROTECTED]> wrote: Why do you want to use jQuery for this? Why not? :) ___jQuery mailing listdiscuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
Why do you want to use jQuery for this? Why not? :) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Access to flash object

2006-10-30 Thread Erik Beeson
The nested object/embed tag is because some browsers recognize the object tag, and others the embed tag. But the browsers will ignore the tag they don't support. Your $("object#flashobject>embed") code is only selecting the embed tag, not the object tag. Which means will only work in the browsers t

Re: [jQuery] Access to flash object

2006-10-30 Thread Daimajin
I use different IDs for object and embed, like this: function getFlashID(id) {     var flash = null;     flash = document.getElementById(id + "E");     if (flash == null) {         flash = document.getElementById(id + "O");     }     return(flash); } $(getFlashID("flashmovie")).do_something_w

Re: [jQuery] Access to flash object

2006-10-30 Thread Klaus Hartl
Guntur N. Sarwohadi schrieb: > but I'd would like not to use object embed tags as they are just > messy. > > > Hmm.. yeah... the nested object embed was generated by flash. It was an > attempt to make the flash object work on most browsers.. hmm.. if this > is a bad way to do things..

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
found this article... maybe this might light things up:http://www.ambience.sk/flash-valid.htmand http://www.alistapart.com/articles/flashsatay/so i guess to make things valid.. no longer use embed :)On 10/31/06, Ⓙⓐⓚⓔ < [EMAIL PROTECTED]> wrote:You want both... it's just you have to figure which one

Re: [jQuery] Access to flash object

2006-10-30 Thread Ⓙⓐⓚⓔ
You want both... it's just you have to figure which one to control! I did a lot of ... .. stuff, and most browsers seem to like the embed. hmm! (I don't use IE) On 10/30/06, Guntur N. Sarwohadi <[EMAIL PROTECTED]> wrote: > > > but I'd would like not to use object embed tags as they are just m

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
 but I'd would like not to use object embed tags as they are just messy. Hmm.. yeah... the nested object embed was generated by flash. It was an attempt to make the flash object work on most browsers.. hmm.. if this is a bad way to do things.. i'll have to find a better way.. or does anyone know th

Re: [jQuery] Access to flash object

2006-10-30 Thread Sam Sherlock
I have tried with limited success to get JSFC & UFO to work, I have jQuery doing other things and I would ideally like to get jQuery & UFO  to handle it all,JSFC  was last updated in 2003.  It works with both object and embed tags. http://www.abdulqabiz.com/files/JSFC/JSFCommunicator%20Library.htmI

Re: [jQuery] Access to flash object

2006-10-30 Thread Ⓙⓐⓚⓔ
it may work... but... object & embed are used separately ... some browsers may use the object and other will use the embed. but not both... your solution ignores the object tag. and just works on the embed. And in the crazy case of multiple nested objects... you will have to each() through the ta

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
Hah.. found the solution..to access the flashobject using these combination of tags: ...and to access with jquery, use this:var oFlash = $("object#flashobject>embed"); and as long as f.swf has a method registered with ExternalInterface (ie. fmethod), then you can call it easily by:oFlash.fmethod()t

Re: [jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
ok,..this is how i access the flash object://function to capture flashgetFlashMovie = function(n) {    if(isIE) {        return window[n];    } else {        return document[n];    } }//implementation:var oFlash = getFlashMovie("someflashmovie");//call flash ExternalInterface registered method:oFla

Re: [jQuery] Access to flash object

2006-10-30 Thread Jörn Zaefferer
> 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 $(expressi

[jQuery] Access to flash object

2006-10-30 Thread Guntur N. Sarwohadi
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_) bu