I'm trying to set the color of a vector graphic at runtime. I need to give it an rgb value, but it seems to only want to take palette colors.
Here's my code: channelColorList = [160104100, 192138100, 189180112, 135162111, 112147110, 101155153, 98134145, 95113146, 127104147, 131095122] (in a loop:) channelMember.rect = channelRect channelSprite = pSpriteManager.mAllocateChannel() sprite(channelSprite).member = channelMember sprite(channelSprite).rect = channelMember.rect sprite(channelSprite).loc = point(channelLeft, channelTop) sprite(channelSprite).rect = rect(channelLeft, channelTop, channelLeft + channelRect.right, channelTop + channelRect.bottom) sprite(channelSprite).ink = 0 sprite(channelSprite).foreColor = channelColorList[i] channelMember is the vector graphic. I've tried it using RGB("#YADAYADA"), and that doesn't work any better. The forecolor always ends up 108, it seems. What do I do to set the color? Cordially, Kerry Thompson [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]