i can able to create StyleSheet object , i need to save that StyleSheet object to css file(in the css format).
how can i do in flex3 Air application , is there any build in library ? Or links available to save as *.css file
Thanks in advance
actionscript-3airapache-flexflex3
i can able to create StyleSheet object , i need to save that StyleSheet object to css file(in the css format).
how can i do in flex3 Air application , is there any build in library ? Or links available to save as *.css file
Thanks in advance
Best Answer
styleNames
array of theStyleSheet
class contains the names of all the styles in that object. TheStyleSheet
class also contains agetStyle
method that returns a style object associated with a given style name. I guess you can make a CSS string using these two. As for saving it as css file, you can do it with theFileStream
class. Use thewriteUTFBytes
method.