Get Unique Colours From A Bitmap
This code snippet will traverse across a bitmap at a given point and return an array of unique colours in hex format. Useful for picking colours from a pallete image etc. I wrote this function to help a student pick random colours from a bitmap, rather than have them write out a long list of hex.
Here is the sample .fla; getfrombit_v8fla.zip
