Coding/JavsScript 삽질기2009. 7. 25. 00:49

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
        <![CDATA[
        import mx.controls.Alert;
            private function alert(): void {
                Alert.show("Hello, World!");
            }
        ]]>
    </mx:Script>
 <mx:Button label="Hello, World!" click="alert()" />

</mx:Application>




'Coding > JavsScript 삽질기' 카테고리의 다른 글

[Flex] 계산기  (0) 2009.07.25
[Flex] Hello, World!  (0) 2009.07.25
Javascript로 만든 BASIC 에뮬레이터  (0) 2008.08.20
자바스크립트 팁  (0) 2006.01.11
Posted by chobocho

댓글을 달아 주세요