[Flashcoders] Bitmap data convert luminosity to alpha

2007-01-10 Thread Mike Mountain
So I want to to the blacks to alpha's in my bitmap data - the darker it
is, the more transparent I want it - how do I go about solving this
problem.

I'm throwing stuff in threshold but so far I'm having no joy at all.

Cheers

M



ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ

Tel: 01964 672000   
Fax: 01964 671102

Registered in England no. 01646471 

The information contained within this email expresses the views of the sender 
and not necessarily 
those of the company. It is private and confidential and may be legally 
privileged. It is intended 
solely for those authorised to receive it. If you are not the intended 
recipient you are hereby notified 
that any disclosure, copying, distribution or action taken in reliance on its 
contents is strictly prohibited 
and may be unlawful. If you have received this email in error, please telephone 
us immediately on 
01964 672000 or email a reply to highlight the error and then delete it from 
your system. This email may 
contain links to web-sites, the contents of which ECM Systems Ltd have no 
control over and can accept 
no responsibility for. Any attachments have been virus-checked before 
transmission; however, recipients 
are strongly advised to carry out their own virus checking as ECM Systems Ltd 
do not warrant that such 
attachments are virus-free. Please note that this email has been created in the 
knowledge that Internet 
email is not a secure communications medium. 
We advise that you understand and observe this lack of security when emailing 
us.

ECM Systems Ltd, Ellifoot Park, Burstwick, East Yorkshire HU12 9DZ

Tel: 01964 672000   
Fax: 01964 671102

Registered in England no. 01646471 

The information contained within this email expresses the views of the sender 
and not necessarily those of the company. 
It is private and confidential and may be legally privileged. It is intended 
solely for those authorised to receive it. If you are 
not the intended recipient you are hereby notified that any disclosure, 
copying, distribution or action taken in reliance on its 
contents is strictly prohibited and may be unlawful. If you have received this 
email in error, please telephone us immediately 
on 01964 672000 or email a reply to highlight the error and then delete it from 
your system. This email may contain links to 
web-sites, the contents of which ECM Systems Ltd have no control over and can 
accept no responsibility for. Any 
attachments have been virus-checked before transmission; however, recipients 
are strongly advised to carry out their own 
virus checking as ECM Systems Ltd do not warrant that such attachments are 
virus-free. 
Please note that this email has been created in the knowledge that Internet 
email is not a secure communications medium. 
We advise that you understand and observe this lack of security when emailing 
us.



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Bitmap data convert luminosity to alpha

2007-01-10 Thread R�kos Attila

MM So I want to to the blacks to alpha's in my bitmap data - the darker it
MM is, the more transparent I want it - how do I go about solving this
MM problem.
MM 
MM I'm throwing stuff in threshold but so far I'm having no joy at all.

ColorMatrixFilter is your friend :)

  Attila

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com