#ff0000 is the CSS color format while 0xff0000 is the hexadecimal number
format in ActionScript and this number can represent color value. The
problem with #ff0000 is that it's not ActionScript.
There shouldn't be any problem if you use 0xff0000 in AS or MXML and #ff0000
only in CSS.

Roman

On Mon, Jan 25, 2010 at 11:49 PM, markflex2007 <[email protected]>wrote:

>
>
> I seems the color code have two format,what is the different?
>
> Thanks
>
> Mark
>
> --- In [email protected] <flexcoders%40yahoogroups.com>,
> "markflex2007" <markflex2...@...> wrote:
> >
> > Flex set color use 0xff0000 or #ff0000.
> >
> > I confuse the two format,when I have to use 0xff0000 and when I have to
> use #ff0000.
> >
> > Please help
> >
> > Thanks
> >
> > Mark
> >
>
>  
>

Reply via email to