I wouldn't say it isn't possible, just very hard.  If you build a simple
mx:Application with the MXMLC option -keep-generated-actionscript,
you'll see how much code the compiler generates to get the styles
working for you.  You can certainly manually duplicate all of that
yourself.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Tony
Sent: Friday, December 21, 2007 6:43 AM
To: [email protected]
Subject: Re: [flexcoders] Stylesheet to AS3 App?

 

so this is NOT possible?

for real?

tony

On Dec 20, 2007 10:29 PM, Alex Harui <[EMAIL PROTECTED]
<mailto:aharui%40adobe.com> > wrote:
>
>
>
>
>
>
>
>
>
> That's the price you pay for not using mx:Application. It comes with
lots
> of cool features such as css support for non-text components.
>
>
>
> ________________________________
>
>
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Rastafari
> Sent: Thursday, December 20, 2007 2:13 PM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Stylesheet to AS3 App?
>
>
>
>
>
>
>
> hi there.
>
> i can apply a stylesheet no problem, to a mxml application.
> however, in an as3 only application, i cant seem to figure out how
> to do this.
>
> i can TextFormat using a stylesheet, when its text, no problem.
>
> just cant figure out how to do it for the whole app. mainly i want a
> background
> gradient and some background alpha changes.
>
> thanks for any help
> tony
>
> 

-- 
'Never have anything in your life that you can't walk out on in thirty
seconds flat, if you spot the heat coming around the corner'

robert deniro - heat (1995)

 

Reply via email to