bill,
the umc section 504.3.2.1 says"domestic clothes dryer moisture exhaust ducts shall be of metal and shall have smooth interior surfaces"exception allows up to 6' of approved flexible duct to connect to the metal duct.flexible portion not to be concealed.