This is what Adobe AIR is for. Personally I wouldn't really recommend that approach though, because it's not really optimal for each platform (especially not for mobile). I would recommend use Flash to develop for desktop browsers, and then port to a mobile development tool like Corona SDK.