Thank you for the link, I will surely read it!
Since I don't need the alpha, I changed getPixel32 to getPixel (oh,
sorry for wrong topic-title) and it works fine now. Thanks for all the
input :-).
(Oh, and I also noticed that I was dividing by 0x00000, which is off
course '0' and dividing by 0 gives 'Infinity').
Cheers!
Claus Wahlers wrote:
Number.toString() is a little borked.
Meister Skinner explains it here:
http://www.gskinner.com/blog/archives/2005/12/source_code_tra.html
Cheers,
Claus.
Jeroen Beckers wrote:
var n:Number = -16777216
trace(n.toString(16));
Gives me:
-1000000 ?
Claus Wahlers wrote:
pixel = -16777216
-16777216 is 0xff000000 (solid black)
Try to trace pixel.toString(16)
Cheers,
Claus.
_______________________________________________
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
_______________________________________________
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