I think it would be good to change all those with your proposition. For me it's cleaner, but with this one from you:
var strpixels:String = element.style.width as String; if (strpixels.indexOf('%') === -1) We may have still RTE ? Piotr ----- Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/Re-2-4-git-commit-flex-asjs-refs-heads-release0-8-0-looks-like-we-get-empty-string-sometimes-which-cN-tp62159p62166.html Sent from the Apache Flex Development mailing list archive at Nabble.com.