Banner ad file size

I’ve seen some banner ads online with video embedded in it whose file size was only 4K. I’ve tried to do the same, even with the video streaming from an external file, and the smallest I could get the swf was 35K. How do I get the file size for my swf smaller?