Got a head-scratcher here. I'm creating some sprites at run-time, and
they're showing up with odd colors.
The code is pretty simple:
tabMember = member("Tab")
repeat with i = 1 to channelCnt
-- Place the tabs
tabSprite = sprite(pSpriteManager.mAllocateChannel())
tabSprite.member = tabMember
tabSprite.rect = tabMember.rect
tabSprite.loc = point(channelLeft + tabSprite.width / 2, channelTop
+ tabSprite.height / 2)
tabSprite.ink = 0
channelTop = channelTop + channelRect.bottom
end repeat
They should be a nice grey color, with a drop-shadow. Instead, the
colors are all over the place--grey, lime green, lemon yellow, but with
drop shadows.
The member is 32-bit, with an alpha channel. The sprites have a holder
member, a zero-pixel bitmap, 32-bit. All have "use alpha" checked. There
is nothing behind the sprites except the stage.
Any ideas what's going on?
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!]