On Tuesday, October 8, 2002, at 03:53 PM, g r i m m w e r k s wrote:

> So I'm trying to make a nice sweet alpha for an image -- I wanted to 
> use a
> vector.image for the alpha. But the vector doesn't have an alpha to
> extract.....

No, but you should be able to copy its image into a greyscale bitmap, 
right? And then use setAlpha to put that into your bitmap's alpha?

James Newton's _Director Shockwave Studio Developer's Guide_ absolutely 
needs to be on your shelf, because after flipping through its first 
four chapters you'll be doing it all, I think. One thing he notes is 
that setAlpha won't work unless the alpha has the same dimensions as 
the target bitmap, and the alpha has to be 8 bits. Little tidbits like 
that make the book nice to have on hand.


              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
        http://shop.osborne.com/cgi-bin/osborne/0072195622.html

[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!]

Reply via email to