Starling Asset Manager by arthit_game

28
Feb
0

import starling.utils.AssetManager;

private static var sAssets:AssetManager;
public function Game()
{
sAssets = new AssetManager();
.
//sAssets.addTextureAtlas(”name”,”file atlas”);
sAssets.addTextureAtlas(”atlas1″,Assets.getAtlas());
sAssets.addTextureAtlas(”atlas2″,Assets.getHeroAtlas());
sAssets.addSound(”wing_flap”,new Assets.wing_flap() as Sound);
sAssets.addTexture(”bgDefault”,Assets.getTexture(”Default”));
start(assets.getTexture(”bgDefault”),sAssets);

}
public static function get assets():AssetManager { return sAssets; }

Filed under: Code Snipplet

Send data for JS console from flash by Ziah

30
Sep
0

Sorry, this entry is only available in ไทย.

Editing Visual Property of RichEditableText by Ziah

30
Jul
0

Sorry, this entry is only available in ไทย.

Tagged as: , ,

Flex Spark Chatbox by Ziah

30
Jul
0

Sorry, this entry is only available in ไทย.

Tagged as: , ,

How to check BitmapImage from base64 String by Ziah

31
May
0

Sorry, this entry is only available in ไทย.