Hi,
I have created some particle effects in liaocheng’s effectEditorAIR and saved it as xml files. I can’t find anywhere how to use it:
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest("../shapes/mine.xml"));
var _effectXML:XML = new XML(xmlLoader.data);
var factory:EffectGroupFactoryS = new EffectGroupFactoryS();
factory.importCode(_effectXML);
var effect:EffectGroup = factory.createNeedStuff() as EffectGroup;
_view.scene.addChild(effect);
effect.start();
I can’t find anywhere EffectGroupFactoryS & EffectGroup Classes ? Is that example is out of date maybe? Could someone tell me how to implement my own particles created in particle editor by liaocheng ?
Thanks