Small Soldiers (1998)
Small Soldiers is a 1998 American science fiction action comedy film directed by Joe Dante, starring Gregory Smith, Kirsten Dunst, Frank Langella and Tommy Lee Jones. The film revolves around two teenagers (played by Smith and Dunst), who get caught in the middle of a war between two factions of sentient action figures, the Gorgonites and the Commando Elite.
More at Wikipedia.