[Flashjs] Client side modification of SWF objects

Nandan Pujar npujar at gmail.com
Tue Jan 29 02:49:13 PST 2008


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 


More information about the Flashjs mailing list