- From: Cameron McCormack <cam@mcc.id.au>
- Date: Sun, 25 Feb 2007 10:03:28 +1100
- To: public-appformats@w3.org
Marcos Caceres: > I'll look into this. But I still don't think its much of a problem.... > Flash has a function called "fscommand" which allows you to talk to > JavaScript in the browser. So, in theory, a flash movie can do this: > > inside flash: > fscommand("growMe", ({width:100,height:100})); > > inside HTML script: > function growMe(dimension){ > $("flashmovie").style.width += dimension.width; > $("flashmovie").style.height += dimension.height; > } > > Worst case, we can define something similar to 'fscommand' for > widgets. However, I don't feel strongly about this ATM. If the global script object for the widget were required to implement the Window interface, you could use the parent property to get to the containing HTML’s script. -- Cameron McCormack, http://mcc.id.au/ xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.au
Received on Saturday, 24 February 2007 23:03:49 UTC