2011-11-08 2 views
1

ReferenceError : 오류 # 1065 : 변수가 정의되지 않았습니다.

getDefinitionByName('some_var_by_class_linkage')을 시도하면이 문제가 발생합니다.

그러나 .swf 파일에 이러한 변수가 있습니다. 그리고 .swf 파일에서 가져옵니다. 그러나 때때로이 오류가 발생합니다. 나는 그것에 대해 많이 읽었지 만, 나를 위해 적절한 해결책을 찾지 못했습니다. 그것은 무엇 일 수 있는가?

다음은 스크린 샷의 문제점에 대한 자세한 설명입니다. http://vzaar.com/help/discussions/problems/580-actionscript-error-referenceerror-error-1065-variable-circle_cut_5-is-not-defined

고마워.

답변

0

flash.utils.getDefinitionByName(name:String):Object

Returns a reference to the class object of the class specified by the name parameter.

Parameters: name The name of a class.

Returns: Returns a reference to the class object of the class specified by the name parameter.

1.Refer this
2.Refer this

2

MovieClip 속성에서 "프레임 1로 내보내기"를 선택하지 않았기 때문일 수 있습니다. (귀하의 ActionScript에서 사용하려는 MovieClip이라고 가정합니다)

프레임 (1)에
+0

호 수출된다 걸렸고 – yozhik

관련 문제