In the LzSprite.js code, there's an error happening where 'stylename' is not
bound.
What's it supposed to be set to here?
I see elsewhere in the code
var stylename = LzSprite.__styleNames.transform;
Is that what is needed here?
/**
* Copies relevant styles from one div to another, e.g. a container div
* @access private
*/
LzSprite.prototype.__copystyles = function(from, to, copyclip) {
copyclip = copyclip == null ? true : copyclip;
var sprite = from.owner;
var left = sprite._x;
if (left) {
to.style.left = left;
}
var top = sprite._y;
if (top) {
to.style.top = top;
}
var display = sprite.__csscache.__LZdivdisplay || '';
if (display) {
to.style.display = display;
}
to.style.zIndex = sprite._z || from.style.zIndex;
if (copyclip && sprite._clip) {
to.style.clip = sprite._clip;
}
if (sprite._transform) {
// copy transform
to.style[stylename] = sprite._transform;
}
}
--
Henry Minsky
Software Architect
[email protected]