Page 1 of 1

Problem with swf size

Posted: Wed Sep 08, 2010 6:23 am
by Paladin
Hi,

Please help me!

I earlier work in adobe flash. I see that the anime studio is more better animation tool than adobe flash CS. :lol:

My problem is: in anime studio the texts are curves. When I export to swf this texts, the swf file size grow up. In adobe flash this size is smaller, because the adobe flash dont make curves from texts.

Maybe I make by wrong way in anime studio. :roll:

Posted: Wed Sep 08, 2010 10:12 am
by slowtiger
AS is not the best tool if you work with text, especially lots of text. It is good enough for the occasional title, but not more. If you have to work with longer texts or need sophisticated controls, you can:
- use Flash (it's really good with text, especially because of its scriptable effects)
- render your text in any other application and import it as bitmaps into AS.

Flash creates much smaller files than AS because it uses certain strategies to optimize. Text is stored as a string where each letter points to the same symbol - that's the outline, and it's stored only once, or even not at all if you use system fonts which Flash grabs from each computer on which you watch the SWF file.

Posted: Wed Sep 08, 2010 1:52 pm
by funksmaname
play each program to its strengths... it's a bit more work to optimise using two programs but if file size is an issue then you have little choice - do any text animation, or anything static like backgrounds, in flash (export a 1 frame swf of a background, then put it in flash) that way only unique frames are rendered and file size is kept down.

i did something similar with all the characters on 'www.hellobullet.com' - only the character animation is brought in frame by frame - the other elements and text are all added in flash so keep file size manageable.

Posted: Wed Sep 08, 2010 11:46 pm
by Paladin
Thanks a lot!
It seems to be the adobe flash stay important too.

Yesterday I watched something in AS. If I make a layer scale or layer move with a text layer the file size not too big. For example: in a 872*489 px project with 24 frames/sec. I moved the text layer in 72 frames with layer move. The swf file size would just 4 kb. I made same project just I moved the text in layer. The swf file size growed to 84 kb!!!

hellobullet.com very nice and quick!

Sorry my English

Posted: Wed Sep 08, 2010 11:50 pm
by funksmaname
when you see a little red dot on your layers, that is 'swf optimized' - if you use layer translation/rotation, it takes it into flash as a symbol - but if you use point motion ANYWHERE it will export every frame regardless of movement...

(thinking about it i'm sure there's a way to make flash export more efficient by not duplicating any shapes that have no shape movement so you'd get large chuncks of single symbol, then some frames, then another symbol if things weren't constantly moving... scripters?)

Posted: Thu Sep 09, 2010 12:00 am
by Paladin
Yes, you are right

And how to import in AS the adobe export? Lika a bitmap or AS can import swf?

Posted: Thu Sep 09, 2010 12:28 am
by funksmaname
you can't import swf to AS - the way AS uses paths natively makes them totally incompatible...

Posted: Thu Sep 09, 2010 12:40 am
by Paladin
Unfortunately,

Can you suggest me a good solution how I can an AS swf make to interactive?

I tried adobe flash catalyst but I dont see in catalyst the imported AS swf file.

Posted: Thu Sep 09, 2010 12:48 am
by slowtiger
AS uses only the vector part of the SWF file to export the image information. If you need interactivity, you have to use Flash and Actionscript.

Posted: Thu Sep 09, 2010 1:13 am
by Paladin
Yes, thanks

I just think a simple interactivity: a link for example.

Do You know the toonboom studio? Toon boom studio is a good anime soft (AS is better), but TS has an export plugin to adobe flash. So You can make your animation in TS and after export to adobe flash. I just think maybe there is an export plugin or something else to adobe flash.