zclip issue when assigning it to multiple links in hidden divs
<p>I m using ZClip (http://www.steamdev.com/zclip/) to enable a 'copy to clipboard' feature on a webpage on multiple links. I m facing 2 issues in this scenario:</p>

<ol>
<li>In the page where ZClip is used, there are 4 divs listing out image files, video files, audio files and documents that a user had previously uploaded. Each of these divs is seen one at a time, so for example, a user would click on the audio tab to view all audio files, then if he clicked on the videos tab, the div that showed the audio files would be hidden and the one for videos would be shown and so on. Maybe because ZClip uses Flash, it is not able to 'load' its dependent swf in a HTML element whose parent element was hidden. So I load the zclip instances on clicking each of the tabs. This is problem one. I d like to load it once and not have to keep reloading everytime a tab was clicked.</li>
<li>I have enabled a zclip afterCopy action on each of the links while initializing zclip on them. In this afterCopy function a alert box is displayed to inform the user that the text was copied to the clipboad. Now since I m loading zclip instance every time a tab is clicked, the afterCopy action is getting applied more than once and hence the alert box pops up more than once. SO if I came to the videos tab twice and clicked a copy link button then I d see 2 alert boxes. If I came on the video tab thrice then 3 alert boxes.</li>
</ol>

<p>I ve tried using the <code>$('a.copy').zclip('remove');</code> before initializing zclip on links. This feature is shown on the zclip website but it has not resulted in getting rid of the extra alert boxes. It only removes the swf associated with the links and not the events bound to the links. Basically I d like some guidance in how I can do either of the following: </p>

<ol>
<li>'unbind' zclip from existing items it was applied on before applying it on selecting a tab.  </li>
<li>or some way that zclip is applied on multiple links only once regardless of the fact that the links its applied on are inside hidden divs</li>
<li>or better still, use only one single zclip instance to use on multiple 'copy' links. So if each link that was clicked to copy something to the clipboard, it d use the same zclip instance.</li>
</ol>
