November 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Tag Archives: styleNames
The parseCSS of StyleSheet silently fails
Hi, when you use the parseCSS method of the StyleSheet, you will have no indication about success of the invocation. When passed string contains invalid CSS text then this method will silently fails. The workaround is to compare the lenght … Continue reading
Posted in actionscript, bugs, flash
Tagged flash css, parseCSS, styleNames, StyleSheet
Comments Off on The parseCSS of StyleSheet silently fails
StyleSheet’s method getStyle doesn’t return null for non-existing style
I have just learned that getStyle() method of flash.text.StyleSheet class doesn’t return null value when requested style doesn’t exists. Documentation states that it should, but in fact it returns empty object. Which could be fine for tests but you could … Continue reading
Posted in actionscript, bugs, flash
Tagged actionscript3, ASl-198, BUG, flash, FP-113, getStyle, styleNames, StyleSheet
Comments Off on StyleSheet’s method getStyle doesn’t return null for non-existing style