A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Jan 2002
    Posts
    213

    Colors 0x00000000 or 0x000000

    Hello.

    Does anyone know the difference between these 2 color formats.
    0x00000000 and 0x000000

    I undersatnd the later, but the first has 2 extra numbers I have no idea about.

    Thanks Howard.

  2. #2
    this is just a complete guess... i have never seen 8 digit hex codes, so it must be a typo. maybe it is cmyk as apposed to rgb.

  3. #3
    Monkey Moderator Lexicon's Avatar
    Join Date
    Jul 2001
    Location
    UK
    Posts
    2,038
    the first 2 digits in 0x00000000 refer to the alpha channel.

    i.e. it's argb instead of rgb.
    www.lexicon-design.co.uk
    If we aren't supposed to eat animals, then why are they made of meat?
    If Vegetarians like animals so much, why do they eat all their food?

  4. #4
    Senior Member
    Join Date
    Jan 2002
    Posts
    213
    A ha!

    That makes total sense.

    thanks./

  5. #5
    Banned
    Join Date
    Oct 2005
    Posts
    6
    The first is decimal - when Flash outputs an SWF it converts to decimal... You can always convert back if you have decompiled a file...

    http://www.quasimondo.com/archives/000383.php

  6. #6
    Monkey Moderator Lexicon's Avatar
    Join Date
    Jul 2001
    Location
    UK
    Posts
    2,038
    no its all hexidecimal

    0x = is a hexidecimal number

    0xAARRGGBB
    www.lexicon-design.co.uk
    If we aren't supposed to eat animals, then why are they made of meat?
    If Vegetarians like animals so much, why do they eat all their food?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center