file won't export to swf

Discuss Moho bugs (or suspected bugs) with other users. To report bugs to Smith Micro, please visit support.smithmicro.com

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
mars714
Posts: 25
Joined: Fri Apr 11, 2008 5:47 am

file won't export to swf

Post by mars714 »

i got the demo, loved it, and now have the full product. however, i am having difficulties exporting to swf. i have a mac, just so you know, any how, the file act normal until the very end of the export, when the export bar is full, the program quits, the file is not complete and will not open. this problem dose not happen when exporting to quicktime. i would like to get this solved soon, i am entered in a deviant art contest, and would like to enter with my animations...
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

Please put the .anme file in a zip archive, post it somewhere on the Net and tell us where it can be downloaded. The developer needs to be able to reproduce the error in order to fix a possible bug. In the mean time, we will try to look for a workaround, if there is one.
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Post by jahnocli »

You are aware that many AS effects do not export to SWF format? Take a look in the help files for a list (near the bottom).
You can't have everything. Where would you put it?
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

That is true, but it shouldn't crash the exporter (if that is what is happening).

BTW ONLY if you use Mac OS X 10.4 or higher, try the intermediate bug update, see here. Do not use this update for Windows or Linux, because it will not work on those platforms.
mars714
Posts: 25
Joined: Fri Apr 11, 2008 5:47 am

Post by mars714 »

i'm still experiencing the crash, as soon as i get the stuffit engine downloaded i can turn it to zip.
mars714
Posts: 25
Joined: Fri Apr 11, 2008 5:47 am

Post by mars714 »

http://mars714.deviantart.com/art/download-if-82555009
go there to download the file i'm trying to export.
NetGenSuperstar
Posts: 38
Joined: Tue Apr 08, 2008 11:30 pm
Location: BEHIND YOU!!!

Post by NetGenSuperstar »

I tried exporting your file to SWF, and it crashes for me as well (OSX 10.4.11, ASP 5.6 bug fix), but no other animations seem to. There are two problems I see with your .anme file:

1. Your bone layers are unoptimized. This automatically creates a new Flash object every frame, resulting in a huge, huge SWF file. However, that would only affect playback speed and download time. The reason it crashes is probably that, combined with...

2. ...a six-thousand frame animation! Flash itself couldn't handle six thousand copies of every frame, even if Anime Studio didn't crash trying.

If you want to do Flash animation in ASP, you must remember that any unoptimized layer can't be simply scaled and rotated every frame in Flash; it's duplicated every frame. This is undesirable, so the only proper way to use bones in Flash is to bind entire layers to them, and to avoid per-point manipulation at all times.
mars714
Posts: 25
Joined: Fri Apr 11, 2008 5:47 am

Post by mars714 »

NetGenSuperstar wrote: Your bone layers are unoptimized. This automatically creates a new Flash object every frame, resulting in a huge, huge SWF file.
how do i optimize the bone layers?
NetGenSuperstar
Posts: 38
Joined: Tue Apr 08, 2008 11:30 pm
Location: BEHIND YOU!!!

Post by NetGenSuperstar »

You'll have to split your animated character (is that Link, by the way?) into multiple layers -- one for each arm/leg/body segment -- and bind each one to a bone. If you use the Bone Strength or Bind Points tools to select a range of points, ASP will assume you want to morph the points (because eventually, you will) and does the shape tweening the best it can, which is by creating duplicates each frame.

If you split the object into separate layers and attach each layer to a bone with the Bind Layer tool, your layers will be optimized. You can then manipulate the bones normally. Unfortunately, this means you'll have to deal with cut-out style animation (like a smoothly-animated South Park), but unfortunately, Flash animation must be done this way.

This is not so much a problem with Anime Studio as it is a Flash limitation, so this probably won't ever change. Flash just isn't meant for that kind of advanced animation.
mars714
Posts: 25
Joined: Fri Apr 11, 2008 5:47 am

Post by mars714 »

okay thanks, and it is link.
Post Reply