I don't think it's against their TOS, but you need to implement the ad in a way that the visitors can clearly distinguish that it's an ad.
You tube videos show up adsense ads coz it is also owned by google. If there is any such method we can also use in the flash lemme know that too.. Adsense TOS doesnt approve that..