From npujar at gmail.com Tue Jan 29 02:49:13 2008 From: npujar at gmail.com (Nandan Pujar) Date: Tue, 29 Jan 2008 16:19:13 +0530 Subject: [Flashjs] Client side modification of SWF objects Message-ID: <2aa79a390801290249y297e5cb4o80d0d431634c0508@mail.gmail.com> Hi All, My requirement is to modify a deployed SWF object using client side scripting in a browser (More specifically Java Script and Firefox). I recently observed that the "RealPlayer 11 video download add on" for the browsers actually modifies the deployed flash object on all websites. Apart from adding an extra menu item to the right click menu, it also pops up a control on top of the player. How is this achieved? I have consulted various writeups about JSFL, SWFObject detection etc., None of them have pointers to get this running. The JavaScript-Flash communication methods like fscommand, Extenstion API are meant for scenarios where the flash object and JavaScript are aware of each other. (i.e functionality is exposed thro flash) . However this is not the case with RealPlayer. The add on modifies the player without the flash content creators being aware of its existence. Eg: The "Download this video" menu item is added by the Add-on though the flash creator hasnt exposed specific functions to do it. Thanks in advance for your replies. -- Rgds, Nandan Pujar Mo: 98803 96096 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://osflash.org/pipermail/flashjs_osflash.org/attachments/20080129/0871e5f2/attachment.html