This project is archived and is in readonly mode.

#489 ✓wontfix
Jason Petrik

Swiff IE7 flashvars not set

Reported by Jason Petrik | November 21st, 2008 @ 05:18 PM | in 1.3.0 rc2 (closed)

In trying to implement a copy to clipboard function from Ajaxian you can see in the alert at the end of the function that the flashvars are set as "" in IE 7. Works as expected in Safari 3 and Firefox 3.


function copy(text)
{
	var divHolder = $('copier');
	if (divHolder == null)
	{
		divHolder = new Element('div', {
			id: 'copier'
		});
		divHolder.inject($(document.body));
	}

	var obj = new Swiff("/dev/assets/clipboard.swf", {
		id: "clipboard",
		width: 0,
		height: 0,
		container: divHolder,
		vars: {
			clipboard: text
		}
	});

	alert(divHolder.get('html'));
}

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Tags

Referenced by

Pages