this was pseudo code,
I assume here you do know how to generate/load/access a bitmapdata
object.
If not reffer to AS3 general documentation.
> is this possible in away with the api, like this "var
> bitBump:BitmapData = bumpmapgenerator(source);"
no. use the code provided in previous mail
just change these line with non-pseudo code
> bm:BitmapData --> bumpmap
var bm:BitmapData = someFunctionthatReturnMeTheSourceBitmapData or
BitmapDataObject.
b & m stands for this example as Bump Map
n & m stands for this example as Normal Map
Fabrice