The finite-size effects in critical phenomena of a thin film system are studied from a mean-field (MF) approach with phi(4) model for second-order phase transition. The influence of boundary condition on the critical properties is emphasized. Scaling functions for relative free-ener...