Select a .fla file and right click and choose get info. Under “Open With:” make sure Fireworks is selected and then click change all.

That should associate fireworks with that file type and you can repeat for any other file types that give the error.