6/17/2010 12:33:42 AM
Title:
Adding css file
Hi,
I have a css file, How to integrate that file in flex. please provide the solution.
Please help me
6/17/2010 2:00:28 AM
hi use this to load your css file . You can see that the css is converted to swf . In flex right click on your css file and select the option "compile CSS to SWF". This option will automatically compile your css file to swf and you can load it using following code
StyleManager.loadStyleDeclarations("yourCSS.swf",true,false,ApplicationDomain.currentDomain);