Png vrs gif

Been using .png for transparency for some time now since file size usually isnt an issue for most of my projects. (non-web) Since I started playing around with Flash I decided to try and get some better optimization by using .gif format instead but it doesnt seem to work that way?

I have 28 .png images, total file size of 678KB imported to flash and the exported .swf is 56KB.
Same 28 images in .gif has a total size of 248KB but when exported the .swf is 188KB ? They were both made exactly the same way. The gif version has a much crisper look to it, but for its ridiculous final size it **** well better.
Whats up with that? Does Flash just hate the .gif format or what?