Hi!
I'm trying to create a panel using Flex, flash and javascript. But I cannot finish tutorials - they all CRASH photoshop with almost the same code in init() function when using CSXSInterface.** functions.
When I comment those ones, it's all ok (the script loses functionality, but panels don't crash).
For example this code
CSXSInterface.instance.evalScript("PhotoshopRegisterEvent", charToInteger("setd").toString());
crashes my Photoshop CS4.
What's wrong? AIR logger doesn' say anything.
Thank you!
Anastasiy Safari
I'm trying to create a panel using Flex, flash and javascript. But I cannot finish tutorials - they all CRASH photoshop with almost the same code in init() function when using CSXSInterface.** functions.
When I comment those ones, it's all ok (the script loses functionality, but panels don't crash).
For example this code
CSXSInterface.instance.evalScript("PhotoshopRegisterEvent", charToInteger("setd").toString());
crashes my Photoshop CS4.
What's wrong? AIR logger doesn' say anything.
Thank you!
Anastasiy Safari