I am trying to use flash profiler api in my flex application. I start the sampling and after a while i search for samples; however getSampleCount() returns 0 and getSamples() returns undefined. I am deploying my application to an oracle weblogic server and starting the application from inside eclipse. Any ideas what might be the problem?
Are you using a debugger player? Did you verify that startSamples is getting called?
Yes I am using a debugger player and I am sure startSamples is getting called, because I hit a break-point at the line where startSamples is called.
Maybe try it in a new, very simple project. Could stopSamples be called right after?