AnimationSetFile

 

애니메이션 요소의 그림을 해당 비트맵 파일로 변경한다.

 

void @AnimationSetFile(string classname, string filename);

 

함수인자

string classname : 애니메이션 요소의 클래스 이름

string filename : 변경할 애니메이션 파일명

 

반환 값

반환값은 없다.

 

예제

If($DI_0000 == 1)

@AnimationSetFile("Animation1", "ON.ANI");

else

@AnimationSetFile("Animation1", "OFF.ANI");

 

문장설명 : DI_0000 태그가 1이면 ON.ANI 파일을 0이면 OFF.ANI 파일을 적용한다.

 

관련항목

@AnimationSetFile ()

@BitmapSetFile ()