An auto-focusing camera includes a lens mount (10), a lens unit (31) and a
motor. The lens unit includes a lens barrel (310) and a lens (312)
received in the lens barrel. Tabs (34) and blocks (36) respectively
extend outwardly from upper and lower end portions of the lens barrel.
Each of the tabs forms an aslant guiding surface (342), which is declined
outwardly along a top-to-bottom direction. The motor includes a magnet
(32) which is forced to move over the guiding surfaces to be securely
sandwiched between the tabs and the blocks. Upper and lower yokes (23a,
23b) are respectively arranged at the upper and lower sides of the
magnet. Upper and lower coils (25a, 25b) respectively wind around the two
yokes for establishing magnetic fields which interact with the magnetic
field of the permanent magnet to drive the lens unit into movement.