Exporting to .swf with AS 64bit - sound and gradient issues

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
skizzpsych
Posts: 2
Joined: Fri May 04, 2012 12:34 pm
Contact:

Exporting to .swf with AS 64bit - sound and gradient issues

Post by skizzpsych »

Hi there,

So I have done a few searches, but I wanted to see if anyone had a workaround. There are a few issues with anime studio 9 64bit when it comes to exporting to swf, namely .wav files do not render when exported, and it seems that mp3 files also cannot be rendered in anime studio 64bit. Rendering to swf in 32bit is painfully slow on my computer. Is there anyway to render to .swf in 64bit with sound?

Alternatively, can the .swf files be imported into adobe flash or some other program and then recombined with the sound?

Also, as for creating the background I have a red-transparent gradient being used as a lighting effect on top of another gradient background (different layer). The red-transparent gradient renders as solid color as swf rather than as a gradient. Is there away around this rather than just prerendering the background and thus losing the vector quality?

As for why am I rendering to swf, I am thinking of uploading to newgrounds (first time uploading there), and I would like to preserve the vectors rather than uploading it as a video. Alternative suggestions welcome.

Thanks a million! :D
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Re: Exporting to .swf with AS 64bit - sound and gradient iss

Post by jahnocli »

If you've got Flash, you might think about how to combine the best bits of both programs. Like a number of other things, gradients can't be exported (see page 312 of the Help manual). From there for the next few pages the manual gives you some useful hints and tips about exporting to .swf format. I've found that Flash does the static things well (like backgrounds), and of course AS is much better at actually animating. You may think about planning your movies to take advantage of this.
You can't have everything. Where would you put it?
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Re: Exporting to .swf with AS 64bit - sound and gradient iss

Post by heyvern »

You can "import" SWF from ASP into Flash.
There are limitations to exporting SWF from ASP.
Layer or shape effects like gradient, will NOT export to swf. Brushes also do not export. I think that masking in ASP also does NOT export to SWF.

To get full instancing support in the SWF you can only use layer animation. No point movement or bone warping of POINTS. Only layer binding with bones will support instancing in an SWF (the bone layer animation is "converted" to instance animation). When exporting the layer becomes an instance in flash. The instance is animated in the flash time line keeping the file size down.

If you animate POINTS directly with point motion or bones, then the instancing of that layer is lost. Each frame is a separate unique shape in the SWF dramatically increasing file size. If you for example you have a complex character or shape with point warping movement over time, the resulting SWF will have a copy of the shape drawn on each frame. It will not create "point warping" or "tweening" of shapes in the SWF. It creates a brand new shape for every frame.

Look at the layer icons in ASP. There will be a red "dot" on layers that are "fully supported" when you export to SWF. A red dot on a layer indicates it will export as an instance in the flash SWF. This red dot however doesn't indicate if layer and shape effects will export. The red dot will go away in ASP if you do direct point motion animation above frame 0. You can still export to SWF but the file is not going to be "optimized" for SWF using layer instances.
User avatar
slowtiger
Posts: 6241
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Exporting to .swf with AS 64bit - sound and gradient iss

Post by slowtiger »

AS masking doesn't export directly, but you can export the mask layer to Flash and set it up there to make it work.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
Post Reply