I've successfully done on-the-fly flash from cgis w/ Bukoo (http://www.geocities.com/yiyisun/bukoo/) and Win32::OLE. Kinda weird, kinda slow, but it worked like it was supposed to. And I wouldn't reccommend it for any kind of a heavy load. But, hey, you know...