In a game I have instances on the stage. Their original sizes vary and on the stage I have resized them differently. This means that one item has a thicker stroke weight than the other. I would like them to have the same stroke weight. If I use the 9-scale-functionality they get the same stroke size (1pt) but that is to small. To use Properties/Stroke/Scale None has the same unwanted effect.
The instances are used with action script so if there is action script to manage this it is ok.
I am not an expert on AS and have tried some things but cant get it to work in my context... (Someone is helping me with the heavier parts of the AS.) Maybe I can do something here in the code:
for(var i = 0; i < items.length; i++)
var originalItemInfo = new ItemInfo();
var item = items[i];
originalItemInfo.item = item;
originalItemInfo.originalX = item.x;
originalItemInfo.originalY = item.y;
Might be helpful to mention your target. Desktop? Device? For instance I've found scale-9 slice doesn't work on iOS but works fine on desktop. Also scale-9 works more reliably with bitmaps for me than vectors, which I find strange. What is your output target?
How complex is the object you're trying to resize? Is it just a background? Can it be fairly easily reproduced using the graphics library to draw shapes and fills? It's going to come down to you hand coding this to resize if 9-slice won't work (which it doesn't for me).