Actually it is not recommended by Adobe to use h.264 inside an flv file, one should instead use f4v which was made for that, I guess that at the time of writing only Adobe Media Encoder can do that. Otherwise there is the mp4 module developed by Peng Wu.