Costume from list

clipping mask script pic (1)
when i map the list why do "0" become "255" i want the 0's to remain clear

If you mean the alpha becoming 255, here's the code to fix it: