why don't you scale your bitmaps?
otherwise, you either edit the symbol and affect all instances or you edit each instance individually.
A) We are currently using a script that loops through selected items and uses the "Modify > Convert to Bitmap" command. How would we scale the bitmaps?
B) The second suggestion you made is exactly what I want to avoid.
you have to use actionscript to create and scale bitmaps.
what script are you using to convert to bitmap? a jsfl script?
if so, copy and paste that code.
The code has little to do with the question. Bitmaps or not I would like to find a way to adjust the scale of the entire contents of a given symbol in the library in the editor (not runtime), and at the same time, adjust all instances of that symbol so that they do not appear to change position or scale on the timeline.
However, here is the relevant JSFL code:
As mentioned, this is doing nothing more than you could do by selecting Modify > Convert to Bitmap.
1 person found this helpful
He's something that might help...
Take your entire animation into a new FLA, stage set to the 2X size. Make sure you're happy with it (other than it being too wide and tall). In Properties you can change the stage size to the 1X size, and at the same time scale the contents.
You should now have the same animation taking up a quarter of the number of pixels, and ready for your nice jsfl script.
Perhaps I don't fully understand, but in my experience, yes this scales the instances on the stage, but it does not scale the contents of the symbols in the library.
The IDEA of what one might think this "scale contents" option does, is what I actually want to do. I want to scale ALL contents of an FLA including its library.
Please correct me if I misunderstand.
So, you make a good point. I'll keep on thinking...
One think to consider is that the amount of time to go in to where each bitmap is, scale it to 50%, convert to bitmap, scale it to 200% (leave the 2X animation at 2X), may be less time than it takes to find an automated solution.
I agree, and this is what my team has been doing....... for the past 10 years. This has always been something that has been desired, whether it is a specific one symbol case, or needing it for an entire FLA, or 10's of FLAs. I'm just now deciding to get to the bottom of it....
It seems like a basic feature that should exist: "Convert selected instance to 100%." There are many cases throughout my years of development that assets have been created at undesired sizes. It's not always related to converting to bitmap. It could be as simple as an artist/animator mistakenly creating 1 asset out of many at the wrong scale.
For anyone else reading that may not understand, here are some screen shots to explain better.
1) My starting point, I have a symbol at 100% on a 400 x 400 stage. The symbol contains a 200 x 200 square.
2) Scale the stage to half the size, 200 x 200. Scale Contents checked.
3) Actual result. Instance has been scaled, but contents have not. If the contents were converted to bitmap, the bitmap would still be 200 x 200 pixels (no size reduction).
4) Desired result. I manually scaled the symbol contents to 50%, or 100 x 100. The manually scaled the instance back to 100%. If the contents are now converted to bitmap, the bitmap will actually be half the size of the original, 100 x 100.
If you can be sure that all bitmaps in an animations are only seen via a symbol, which is quite likely, you could take the single copies of the symbol into a new FLA library, go into each symbol and scale its bitmap to 50%, convert to bitmap, scale to 200%, and when you've done them all you would copy the symbols back into the main FLA, replacing the originals. That should fix each symbol across the whole animation. Watch out for duplicate symbol names though. Would be worth taking the time to rename the new bitmaps to something unique. Once you had paste/replaced the symbols, you could delete all the original unused 2X bitmaps.
You may be onto something. You'd have to do this only for the lowest level symbols. Nested animated symbols would require special care. I'll have to give this a shot first thing next week.
Yes, just do the symbols that only contain a bitmap.
Another tip, your bitmap is either going to be registered in the middle or the top left corner. If it's in the middle you can select it, transform panel 50%, convert to bitmap, transform panel 200%. If it's registered in the top left corner (not sure how that would happen!), it's best to use the properties panel to set it to half the width/height, convert to bitmap, set the width height to double.
As an aside, in case you didn't know this, in any of those property fields you can do math. Don't sit there mentally working out what half of something is, or at what x position it would be if it was 1234 pixels to the right. You can go into the field and add: "/2" for example, and whatever width it was, it's now half that. Likewise, for the x position you can add "+1234" after the existing x value, to move it that many to the right.
While extremely hack-ish, this does appear to accomplish the goal. Thanks Colin.
Now to see if I can script this in a flexible way.