Loading CSS in Runtime

Here is small example on Runtime CSS Loading:

Runtime CSS
Sources

See also:
Flex Help > Loading style sheets at run time
Senocular > Beginners Guide to Getting Started with AS3 (Without Learning Flex) (Check the part about mxmlc.exe compiler).

2 Responses to “Loading CSS in Runtime”

  1. barry.b Says:

    ah ha! I was wondering how this could be done!

    thanx

    PS: got a runtime error with Flash 9

    Variable internal::init is not defined.
    at RuntimeCSS/___Application1_creationComplete()

  2. Nirth Says:

    Hm, I don’t get runtime error, but in my current version of Flash Player background looks like shit… hehe.

    Can you tell me your version please?