import mx.core.BitmapAsset;
[Embed ("assets/Fair.png")]
const 박람회 : 클래스;
[Embed ("assets/Cldy.png")]
const Cldy : 클래스;
[Embed ("assets/Sunny.png")]
const Sunny : 클래스;
[Embed ("assets/Fog.png")]
const 포그 : 클래스;
var desc : String = new String();
if (내림차순 = "공정함") {
var FairImg : BitmapAsset = new Fair();
TemperatureImageId.addChild (FairImg); // TemperatureImageId는 그래픽 심볼
의 ID입니다. else if (desc == "Cloudy") {
var Cloudy : BitmapAsset = new Cldy();
TemperatureImageId.addChild (흐림);
} else if (desc == "Sunny") {
var Sunny : BitmapAsset = new sunny();
TemperatureImageId.addChild (맑음);
} else if (내림차순 = "안개") {
var Fog : BitmapAsset = new Fog();
TemperatureImageId.addChild (Fog);
}