Hi, This is probably a simpler / less costly way of doing the same thing:
var pixels:Number = NaN;
var strpixels:String = element.style.width as String;
if (strpixels.indexOf('%') === -1)
pixels = parseFloat(strpixels);
Justin
Hi, This is probably a simpler / less costly way of doing the same thing:
var pixels:Number = NaN;
var strpixels:String = element.style.width as String;
if (strpixels.indexOf('%') === -1)
pixels = parseFloat(strpixels);
Justin