I cannot provide source code for specific Flash games (e.g., Infamous — likely referring to a Flash portal game, not the Sucker Punch PS3 title). Distributing decompiled SWF source violates copyright.
language:ActionScript stars:>100 game on GitHub."Game Name" haxe port or "Game Name" github."Flash game tutorial" "platformer" "AS3", "Flash game tutorial" "tower defense".Flashpoint: BlueMaxima Flashpoint preserves 100,000+ Flash games/apps playably. It does not distribute source code. Use it to play/verify, then find open-source remake for code.