[TxMt] Insert Flash object/embed tags?

Allan Odgaard throw-away-1 at macromates.com
Fri Jun 30 21:15:15 UTC 2006


On 30/6/2006, at 18:44, Dru Kepple wrote:

> [...] I'd highly recommend using SWFObject over using actual  
> <object> tags.

The problem is that using SWFObject introduces a dependency on an 8  
KB javascript which needs to be included from the page and thus  
likely also be uploaded to the target server.

It is however possible to get an SWF drag command to optionally  
insert the script which use SWFObject e.g. when the option modifier  
key is held (during the drop), and then leave it up to the user to do  
the proper thing with swfobject.js.




More information about the textmate mailing list