Camera onFrame or smthng?

Hi,

trying to figure out how to run a function every time camera gets a new frame…
Basicly the issue is: i need to get a new bitmapdata every time and run some code with it…

any ideas?

dnx