What if i embed bitmaps more than one like that?
[Embed(source = 'assets/enemy_kamikaze.png')] private const KAMIKAZE:Class;
[Embed(source = 'assets/enemy_shooter.png')] private const SHOOTER:Class;
[Embed(source....
[Embed(sou...
[Embed...
.....
...
..
.
Even i use one of them like that?
if (kind == "kamikaze") graphic = graphicfx = new Image(KAMIKAZE);
else if (kind == "shooter") graphic = graphicfx = new Image(SHOOTER);
else if ("kind ==......
else if (.....
else if....
.....
...
..
.
Is that makes this entity lacky for low sys computers? What if i want to use specified bitmap depending on a variableās value?