0
매우 기본적인 질문이 있습니다. 왜이 작동하지 않습니다! 정의되지 않은 속성의 액세스 : ActionScript로 레이블 텍스트 변경
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="1000" height="550" minWidth="960" backgroundColor="#F2F0F0"> <fx:Declarations> <!-- Place non-visual elements (e.g., services, value objects) here --> </fx:Declarations> <s:Label id="test1" x="43" y="259" text="Label"/> <fx:Script> <![CDATA[ test1.text = "Yay! This works...!"; ]]> </fx:Script> </s:Application>
나는이 오류가 발생했습니다.
감사!
+1 감사합니다. – enloz