How to use particle in java script?

i want to make rain particle, i try this code based on the cocos js test case of sun particle, but it show nothing.

am i miss something?

var rain = cc.ParticleRain.create();
rain.texture = cc.textureCache.addImage(asset.particle_hujan);
rain.setTotalParticles(100);
rain.setLife(0.6);
this.addChild(rain);

thank you… ^^

You need to pass the plist file in inside the create in order for it to work
var m_emitter = cc.ParticleSystem.create(asset.particle_hujan);