I have built a small flash music player to be featured on a myspace page. I also want to include a Copy To Clipboard button so that people can copy the embed code for the SWF and paste it into their own myspace pages and websites.
As of now I am using this anctionscript for the button:
[url removed, login to view]("<embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="[url removed, login to view]" height="257" width="180" align="middle" wmode="transparent" quality="high" bgcolor="ffffff" />");
Since the Embed code contains quotation marks " the setClipboard function does not work. I need a work around for this.
You can view the flash music player here:
[url removed, login to view]
When you click on 'WTF' you will see the Copy Code button.