Tag Archives: getStyle

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 , , , , , , , | Comments Off on StyleSheet’s method getStyle doesn’t return null for non-existing style