so I'm trying to use this plugin:
http://code.google.com/p/zeroclipboard/wiki/Instructions
which basically allows you to set clipboard text via javascript by using a flash movie trick
I did
ZeroClipboard.setMoviePath( '/pathtoswf/zeroclipboard.swf' );
var clip = new ZeroClipboard.Client();
clip.setHandCursor( false );
clip.setText('lalalalala');
clip.glue( 'i_container', 'i_button' );
clip.addEventListener( 'onLoad', function(){ alert('loaded baby'); } );
clip.addEventListener('onMouseDown', function(){ alert('mouse is down'); });
clip.addEventListener('onComplete', function(){ alert('text got copied to clipboard'); });
with the html
<div id="i_container" style="position:relative">
<div id="i_button">
Something
</div>
</div>
zeroclipboard js is loaded just fine
so when I run this, it alerts "loaded baby" just fine so the flash also gets displayed fine but then when I click on the "something" text it doesn't alert mouse is down nor does it alert that the text got copied to the clipboard, nor is the text actually get copied to clipboard
what did I do wrong?