February 28th, 2008
Flex 3 BYOP: Bring your own profiler…flash.sampler
So during my presentation at 360Flex some people had questions about accessing the profiler without Flex Builder 3 Professional. Being completely swamped on projects of late and not getting too much time to read extra material, I told them that there probably wasn’t but talk to David Zuckerman to find out if the API to the Profiler is exposed in Flex Builder…or something to that extent. Although I think this would have been more in Mike Morearty‘s or Tom Reilly’s court…
Well, unfortunately it looks like the Profiler is not accessible through an Eclipse based API… heres a tidbit according to Ted Patrick from a little while back:
“the code model and language intelligence features are there for you to extend and build upon. Eclipse is designed from the ground up to support plug-in extensibility and we have exposed these APIS for you to extend.”
Here’s the link to the info above:
http://www.onflex.org/ted/2007/09/flex-3-beta-2-code-debug-profiler.php
Now for the best part about this post…here is some late breaking news, and so far I don’t think anyone yet has blogged about it. Although it’s late…I need to sleep…and I haven’t fully digested all the specifics yet, if you’re cool with some caveats you get a pretty awesome new package to play with and build your own Profiler!!!
Here are the caveats:
- You have to run the app in debug mode. (Specifically 9.0.115.0)
- You need to make use of PreloadSwf in the mm.cfg file to preload any custom profiling agent.
So…if you’re cool with that…drum roll please…I now announce the flash.sampler.* package!
Here’s some links for those of you who find this interesting:
- http://livedocs.adobe.com/flex/3/langref/flash/sampler/package-detail.html
- http://livedocs.adobe.com/flex/3/html/help.html?content=profiler_4.html
Hey Doug…you feel like adding another tab to your custom FlexSpy?
Night all…

