I want to handle 'New document' event from PS in my panel.
I known I'ts possible to get the class of the descID in the callback parameter using the 'ActionDescriptor' class, but I can't compile:
and this is a part of my code:
I haven't done much with CS SDK but don't you need to make a reference to Photoshop first?
var app:Application = Photoshop.app;
Then reference the Photoshop DOM through app. i.e. app.actionDescriptor()
If that doesn't help you might have better luck asking in the CS SDK forum. http://forums.adobe.com/thread/712018
Thanks for your answer, but the compiler return the same error.
It seems I need to import or add some extra library.