i think you would need access to compiler java api to do that. start
with creating VirtualLocalFile, generate a dummy class file with all
those [Embedded] for uploaded fonts, and compile it using Flex
Compiler API. You don't need command line tools for this.

Andrii Olefirenko

--- In [email protected], "Sergey Kovalyov"
<[EMAIL PROTECTED]> wrote:
>
> Hi All!
> 
> Does somebody have experience compiling CSS to SWF on server using Flex
> command line compiler?
> 
> I want to allow users use their own fonts in application. To do that
first
> they have to upload TTF true type font to server, then create CSS that
> references uploaded font file on the flight and at last compile it
to SWF.
> Thus it would be possible to load the resulting SWF via StyleManager.
> 
> What do you think about this strategy?
> 
> Sergey.
>


Reply via email to