Setting the width of a panel

General Discussion of Scripting for Flex, Flash & CS SDK

Moderators: Tom, Kukurykus

d3mac123

Setting the width of a panel

Post by d3mac123 »

Is there a way to open a panel for the first time to a specific width/height? My panel was originally created (in Flash Builder) as 235x300 but when it opens in Photoshop for the first time it comes as 303x518px. I added a "maxWidth and maxHeight" parameters in the FB code but it seems not being considered by Photoshop.

I know this is possible to do with Creative Extension Builder (I tested default and maximum sizes of the panel - both defined by the manifest.xml file) but I couldn't make it to work with my Javascript files (SWF panel opens but no buttons work - because the .js file was not read).

Ideas?

Thanks a lot,
Alex