Tools for visualisation of AS3 classes and also CPU utilization

Hi,

Is there anything out there ot help me graphically visualise the actionscript classes i have created? Might help me think of better ways to optimise my code.

Also is there anything out there that can point out what loops and functions are taking up the most CPU time. I’m getting some bottlenecks and stuttering in my code and would like to find a program to help me isolate the code segments which are killing the CPU.