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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
styleNamesarray of theStyleSheetclass contains the names of all the styles in that object. TheStyleSheetclass also contains agetStylemethod 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 theFileStreamclass. Use thewriteUTFBytesmethod.