Simple Flash Panel fails in Windows, not on Mac.

Discussion of actual or possible Bugs, Anomalies and Documentation Errors

Moderators: Tom, Kukurykus


Simple Flash Panel fails in Windows, not on Mac.

Post by kpt »

Here's an interesting bug:

I've created a very simple Flash panel:
Code: Select all<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="" layout="absolute" minWidth="955" minHeig\
                        import com.adobe.csxs.core.CSXSInterface;

                        public function runEnlarge():void {
        <mx:Button x="25" y="26" label="Enlarge" click="runEnlarge()"/>


And this is the Javascript with the same name:
Code: Select all
enlarge133 = function() {
  try {
    var layer = app.activeDocument.activeLayer;
    layer.resize(133.33333, 133.33333, AnchorPosition.MIDDLECENTER);
  } catch (e) {

I've zipped up these files in if anyone wants to try.
The two files should be placed in Adobe Photoshop CS5/Plug-ins/Panels/ folder.

Now, here's the case where it goes all wrong, but only in Windows (for me, at least).

Opening the following file: which looks like this:

Open the Panel with Window > Extensions > SimpleTest, and click on the Enlarge button. This gives:

It works if the smart object is rasterized to an ordinary layer.

Has anyone experienced this?

I have tried resetting Photoshop (ctrl+shift+alt while starting up) and also tested the .jsx file through normal scripting (works fine), so there's something funny going on with the Flash panel here.

I'd be happy to post this somewhere else if someone can advice me.

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

Posts: 1
Joined: Tue Jan 08, 2019 10:46 am

Simple Flash Panel fails in Windows, not on Mac.

Post by ambren »

Steps to Reproduce:
Save the following to a jsx file, open the file in ESTK, and hit the Run button.

#target photoshop

Actual Result:

ESTK locks up requiring a restart.

Expected Result: ... 4eUag-1-51