Thermodynamic treatment of thin liquid films in Part III of this series was applied to foam films stabilized by sodium dodecyl sulfate. Miscibility of sodium chloride and sodium dodecyl sulfate in the adsorbed films at the film surfaces and transition between the black films were studied by measuring film thickness and contact angle. A discontinuous change in the thickness and a break on the contact angle vs. concentration curve appeared at the transition. Judging from the phase diagram of adsorption, sodium chloride and sodium dodecyl sulfate are a little miscible in the adsorbed films. The miscibility was ascribed to specific interaction between sodium ion and dodecyl sulfate ion in the adsorbed films. The miscibility in an adsorbed film was compared between the film surface and meniscus and between the common black and Newton black films.