RGB text color question

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default RGB text color question

    I've got the following behavior

    on mouseDown me

    set the color of sprite the currentSpriteNum to rgb(0, 0, 255)


    end mouseDown

    end

    on a text sprite. It should change the text color to blue however it
    changes it to this pink color instead, any ideas why?
    thanks,
    cj


    Chris J Guest

  2. Similar Questions and Discussions

    1. Changing text color between threaded text frames
      I'm having trouble figuring out how to change the text color (not manually) between two threaded text frames. Here's the scenario: Page 1 has a...
    2. 4 color text in PDF ?
      Hello, I have an RGB PDF which converts into CMYK 4-color text. Can I control the color conversion of black text within Acrobat Professional ? ...
    3. Can you change the color of text with the Touchup Text tool?
      I just want to say that your note helped me. I NEVER knew that I could use a right click to bring up properties when using the text touch-up tool!...
    4. Question about color match monitor/printout and Color space
      I am using a Minolta F200 camera; the EXIF data show :color space - sRGB; I am using a Laptop (Toshiba Satellite), so not much possibilties for...
    5. Text tool - text goes white, background changes color
      Bill, Anytime you notice something wierd going on with this program it is a good practice to reset prefs. Shut down PE2 then open again. As soon...
  3. #2

    Default Re: RGB text color question

    You might have applied and Ink to the sprite.... check that out.

    Arturo



    "Chris J" <cjoker@hotmail.com> escribió en el mensaje
    news:bqj2nk$fsa$1@forums.macromedia.com...
    > I've got the following behavior
    >
    > on mouseDown me
    >
    > set the color of sprite the currentSpriteNum to rgb(0, 0, 255)
    >
    >
    > end mouseDown
    >
    > end
    >
    > on a text sprite. It should change the text color to blue however it
    > changes it to this pink color instead, any ideas why?
    > thanks,
    > cj
    >
    >

    Arturo Toledo Guest

  4. #3

    Default Re: RGB text color question

    No, no ink.

    "Arturo Toledo" <arturo@miltonfrank.tv> wrote in message
    news:bqj3b1$gp2$1@forums.macromedia.com...
    > You might have applied and Ink to the sprite.... check that out.
    >
    > Arturo
    >
    >
    >
    > "Chris J" <cjoker@hotmail.com> escribió en el mensaje
    > news:bqj2nk$fsa$1@forums.macromedia.com...
    > > I've got the following behavior
    > >
    > > on mouseDown me
    > >
    > > set the color of sprite the currentSpriteNum to rgb(0, 0, 255)
    > >
    > >
    > > end mouseDown
    > >
    > > end
    > >
    > > on a text sprite. It should change the text color to blue however it
    > > changes it to this pink color instead, any ideas why?
    > > thanks,
    > > cj
    > >
    > >
    >
    >

    Chris J Guest

  5. #4

    Default Re: RGB text color question

    "Chris J" <cjoker@hotmail.com> wrote in message
    news:bqj2nk$fsa$1@forums.macromedia.com...
    >
    > on a text sprite. It should change the text color to blue however it
    > changes it to this pink color instead, any ideas why?
    Not sure exactly why this happens, but if you want to change the colour of a
    sprite at runtime it is a good idea to make sure that the original colour is
    either black or white: otherwise Director seems to combine the colours,
    resulting in very strange effects.

    - Robert


    Robert Tweed Guest

  6. #5

    Default Re: RGB text color question

    Yes, I do have the original color set to black.

    "Robert Tweed" <robert@killingmoon.com> wrote in message
    news:bqj43p$i23$1@forums.macromedia.com...
    > "Chris J" <cjoker@hotmail.com> wrote in message
    > news:bqj2nk$fsa$1@forums.macromedia.com...
    > >
    > > on a text sprite. It should change the text color to blue however it
    > > changes it to this pink color instead, any ideas why?
    >
    > Not sure exactly why this happens, but if you want to change the colour of
    a
    > sprite at runtime it is a good idea to make sure that the original colour
    is
    > either black or white: otherwise Director seems to combine the colours,
    > resulting in very strange effects.
    >
    > - Robert
    >
    >

    CJ Guest

  7. #6

    Default Re: RGB text color question

    "CJ" <groups@renderforge.com> wrote in message
    news:bqjetd$3ql$1@forums.macromedia.com...
    >
    > Yes, I do have the original color set to black.
    Try setting one of the other colour properties: foreColor or bgColor,
    backColour, backgroundColour: different properties apply to different member
    type; what works for one may not work for another.

    - Robert


    Robert Tweed Guest

  8. #7

    Default Re: RGB text color question

    "Robert Tweed" <robert@killingmoon.com> wrote in message
    news:bqjf67$485$1@forums.macromedia.com...
    > >
    > > Yes, I do have the original color set to black.
    >
    > Try setting one of the other colour properties: foreColor or bgColor,
    > backColour, backgroundColour: different properties apply to different
    > member type; what works for one may not work for another.
    Actually I just noticed you did say it was a text member - in that case
    ..color should be working properly. Try creating a test movie with just:

    - One text member, exactly like you have in your movie
    - One behaviour that sets the colour on mouseDown

    See if you get the same problem or not. If not, try to narrow down the
    difference. If you do get the same problem, upload the test movie to a
    webserver and post a link so we can have a look at it.

    - Robert


    Robert Tweed Guest

  9. #8

    Default Re: RGB text color question

    Robert,

    I must apologize. I have some black text members in my cast and some red.
    When I created a test movie I realized it is the red text member that is
    giving me the problem. When I set it to Black it works as expected. Of
    course my stage is black so that won't work. Curiously, I set the text to
    white and nothing worked (the color didn't change at all). I guess I will
    have to live with a pink mouseDown.

    Thank you for your help.

    cj


    "Robert Tweed" <robert@killingmoon.com> wrote in message
    news:bqjfhs$4l0$1@forums.macromedia.com...
    > "Robert Tweed" <robert@killingmoon.com> wrote in message
    > news:bqjf67$485$1@forums.macromedia.com...
    > > >
    > > > Yes, I do have the original color set to black.
    > >
    > > Try setting one of the other colour properties: foreColor or bgColor,
    > > backColour, backgroundColour: different properties apply to different
    > > member type; what works for one may not work for another.
    >
    > Actually I just noticed you did say it was a text member - in that case
    > .color should be working properly. Try creating a test movie with just:
    >
    > - One text member, exactly like you have in your movie
    > - One behaviour that sets the colour on mouseDown
    >
    > See if you get the same problem or not. If not, try to narrow down the
    > difference. If you do get the same problem, upload the test movie to a
    > webserver and post a link so we can have a look at it.
    >
    > - Robert
    >
    >

    Chris J Guest

  10. #9

    Default Re: RGB text color question

    "Chris J" <cjoker@hotmail.com> wrote in message
    news:bqjmcl$coq$1@forums.macromedia.com...
    >
    > I guess I will
    > have to live with a pink mouseDown.
    Not really:

    on beginSprite me
    sprite( me.spriteNum ).color = rgb( 255, 0, 0 )
    end

    Should fix the problem, allowing it to change from red to blue (just so long
    as it is set to black in the cast).

    - Robert


    Robert Tweed Guest

  11. #10

    Default Re: RGB text color question

    PERFECT!!! Robert, I would have never thought of that....Obviously.
    thank you,
    CJ
    "Robert Tweed" <robert@killingmoon.com> wrote in message
    news:bqjp4c$fk9$1@forums.macromedia.com...
    > "Chris J" <cjoker@hotmail.com> wrote in message
    > news:bqjmcl$coq$1@forums.macromedia.com...
    > >
    > > I guess I will
    > > have to live with a pink mouseDown.
    >
    > Not really:
    >
    > on beginSprite me
    > sprite( me.spriteNum ).color = rgb( 255, 0, 0 )
    > end
    >
    > Should fix the problem, allowing it to change from red to blue (just so
    long
    > as it is set to black in the cast).
    >
    > - Robert
    >
    >

    CJ Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139