It just mess up my code.
Sometimes it just triggers for extra times.
Why not just use
var s:Sprite = new Sprite();
addChild(s);
s.init();
instead setting a “initHandler” function listening to the ADDED_TO_STAGE event.
It just mess up my code.
Sometimes it just triggers for extra times.
Why not just use
var s:Sprite = new Sprite();
addChild(s);
s.init();
instead setting a “initHandler” function listening to the ADDED_TO_STAGE event.
:: Copyright KIRUPA 2024 //--