开发者

Export images from flash

开发者 https://www.devze.com 2022-12-29 22:08 出处:网络
First of all let my clarify that I am a flash noob, this is a freelance job I am doing for someone. I have a flash files with symbols I need to export as PNG images, for some reason the exported imag

First of all let my clarify that I am a flash noob, this is a freelance job I am doing for someone.

I have a flash files with symbols I need to export as PNG images, for some reason the exported images have different width and height than indicated in the flash file. After checking I found out that the new dimensions don't even keep the original ratio between height and width. This happens for sever开发者_高级运维al symbols at different sizes. What might be the reason for this?

I have also considered finding a way to take a snapshot from within flash of a slice in the flash movie, is that possible?

Understand that I cannot manually take the snapshots as I need this done on a very large quantity of symbols.

Thank you


Here is one method that just worked for me.

In CS5:

  1. Click the image you want to export.
  2. Properties -> "edit" - This will open the file in Photoshop.
  3. Then you can save it outside of Flash!


You can export images through the export menu (assuming you have a version >= CS3).

Just go File>Export>Export Image and select your settings from there. It should autocrop to the current width/height of the graphic symbol if you have the symbol selected.


This might answer your second question ("take a snapshot of a slice in the flash movie"): I made the following script to bulk-export PNGs from flash, one for each frame in the main timeline.

flash-export jsfl script

This code is derived from a script I found online to do the same thing


To help with your problem:

-take everyting on the stage and place it into a single container movieclip

-make a shape object with the dimensions of the image you want to export

-make that shape object the background in the container clip.

-Change the stage to the dimensions of the container clip.

-export your movie as an image.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号