Eight-year-old Smith, who starred alongside his father in Sony's The Pursuit of Happyness, his first feature role, is attached to play a precocious inventor trapped in a science center during a field trip.