http://www.flash-mx.com/images/image1.jpg 이미지를 내 플래시 SWF 파일의 축소판 상자로 표시하려고합니다. 이렇게하려면 내 플래시 영화의 로더 장악하고 이름을 my_thumb
로 다음과 같이 코드를 작성했습니다 :Flash CS4 : "Loader.contentPath"를 사용할 때 응답이 없습니까?
_parent.my_thumb.contentPath = "http://www.flash-mx.com/images/image1.jpg";
하지만 내 플래시 코드에 선 위에 추가 한 후 다음과 같은 오류를 얻고있다.
---------------------------
Flash Player
---------------------------
A script in this movie is causing Flash Player to run slowly.
If it continues to run, your computer may become unresponsive.
Do you want to abort the script?
---------------------------
Yes No
---------------------------
위의 코드를 제거하면 내 코드가 문제없이 작동합니다.
왜 이런 일이 발생하는지 알 수 없습니다. 나는 초보자이며 오류의 이러한 종류에 대해 많은 생각을하지 않습니다.
확인해주세요.
감사
그것은 액션-2 아닌가요? – Amarghosh
@Amarghosh : 게시 설정과 그 actionscript-2를 선택했습니다. – Prashant
당신은 AS3으로 태그를 붙였습니다. 그래서 – Amarghosh