Hi,

Any reason why this shouldn’t work? ie clicking on the text does nothing. 

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                xmlns:js="library://ns.apache.org/flexjs/basic">

    <js:valuesImpl>
        <js:SimpleCSSValuesImpl/>
    </js:valuesImpl>

    <fx:Script><![CDATA[
        import org.apache.flex.html.SimpleAlert;

        public function clickMe():void {
            SimpleAlert.show("Clicked!", this) ;
        }
        ]]></fx:Script>
    
    <js:initialView>
        <js:View percentWidth="100" percentHeight="100">
            <js:Container>
                    <js:Label text="Click Me" click="clickMe()" />
            </js:Container>
        </js:View>
    </js:initialView>

</js:Application>

Thanks,
Justin

Reply via email to