1 Reply Latest reply on Jun 6, 2008 6:58 AM by matthew horn

    Application Css remote file


      I have the follow problem.

      My Flex application receives some initial parameters from an aspx page, it starts and it calls a Web Service in order to obtains some information like css file position, some labels in the front-end, etc

      I know that in mxml syntax there is the tag:

      <mx:Style source=" http://myserver/mypath/style.css" />

      but my application is completley developed in actionscript.

      My WebService returns me a XML and a specific tag of this XML contains the information I need, like this:

      <CssFilePath> http://myserver/mypath/style.css</CssFilePath>

      Is it possible to set in action script in run time the location of the css file? Which is the right code?

      Any suggestion will be appreciated.

      Thank you.