You can cast a spell using flashback even if it was somehow put into your graveyard without having been cast.
Scorching Missile
If a card with flashback is put into your graveyard during your turn, you can cast it if it's legal to do so before any other player can take any actions.
To determine the total cost of a spell, start with the mana cost or alternative cost (such as a flashback cost) you're paying, add any cost increases, then apply any cost reductions. The mana value of the spell is determined only by its mana cost, no matter what the total cost to cast the spell was.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. Don Hazeltine
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
