Johnny Dangerously (1984)
Johnny Dangerously is a 1984 comedy spoof of 1930s' crime/gangster movies. It was directed by Amy Heckerling; its four screenwriters included Bernie Kukoff and Jeff Harris who had previously created the hit TV series Diff'rent Strokes.
More at Wikipedia.