BEIJING  An ecstatic China finally got its Olympic moment on Friday night. And if the astonishing opening ceremonies of the 2008 Olympic Games lavished grand tribute on Chinese civilization and sought to stir an ancient nation’s pride, there was also a message for an uncertain outside world: Do not worry. We mean no harm.

Usually, that message is delivered by the dour-faced leaders of the ruling Communist Party, who dutifully, if sometimes unconvincingly, regurgitate the phrase “harmonious society” coined by President Hu Jintao. But in the nimble cinematic hands of Zhang Yimou, the filmmaker who directed the opening ceremonies, the politics of harmony were conveyed in a visual extravaganza.

The opening ceremonies gave the Communist Party its most uninterrupted, unfiltered chance to reach a gargantuan global audience. At one point, thousands of large umbrellas were snapped open to reveal the smiling, multicultural faces of children of the global village. Benetton could not have done it better.

Any Olympic opening is a propaganda exercise, but Friday night’s blockbuster show demonstrated the broader public relations challenge facing the Communist Party as China becomes richer and more powerful. The party wants to inspire national pride within China, and bolster its own legitimacy in the process, even as leaders want to reassure the world that a rising China poses no danger.