我知道你可以应用CSS为了使用StyleManager对Flex中的对象进行样式化: livedocs.adobe/flex/3/html/help.html?content=styles_07.html
I know that you can apply CSS in order to style objects in Flex using the StyleManager: livedocs.adobe/flex/3/html/help.html?content=styles_07.html
您也可以动态加载编译的 CSS文件(SWF): livedocs.adobe/flex/3/html/help.html?content=styles_10.html
You can also load compiled CSS files (SWFs) dynamically: livedocs.adobe/flex/3/html/help.html?content=styles_10.html
但是,我使用Web GUI和服务器端脚本动态创建我的CSS文件。 如果CSS被改变,那么脚本也需要将CSS编译成SWF(这不是一个可行的选项)。有什么办法解决这个问题吗?
However, I'm dynamically creating my CSS files using a web GUI and a server-side script. If the CSS is changed, then the script would also need to compile the CSS into an SWF (which is not a viable option). Is there any way around this?
推荐答案Flex中的应用程序在服务器端在编译时处理,而不是在
The application of CSS in Flex is handled on the server side at compilation and not on the client side at run time.
我会看到两个选项(我不知道这是多么实用):
I would see two options then for you (I'm not sure how practical either are):
祝你好运。
更多推荐
如何将CSS文件动态加载到Flex应用程序中?
发布评论