Math wiz needed, perlin noise value - Solved

Hey all!

I trying to work out how to use perlin noise values in AS. I remember fra processing, that it had a noise(x,y) method to generate that type of noise.

p5 reference: http://www.processing.org/reference/noise_.html

perlin noise: http://freespace.virgin.net/hugo.elias/models/m_perlin.htm

Can anyone tell me how to generate values from this?