Hi,

Looks there there's a couple of issues that need to be sorted - try this out:

<?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"
                           applicationDPI="640">
        <s:layout>
                <s:VerticalLayout />
        </s:layout>
        
        <fx:Script>
                <![CDATA[
                        import mx.events.FlexEvent;
                        import mx.managers.PopUpManager;
                        
                        import spark.components.TitleWindow;
                        import spark.events.PopUpEvent;

                        protected function popup(event:MouseEvent):void
                        {
                                PopUpManager.addPopUp(new TitleWindow(), this);
                        }
                        
                ]]>
        </fx:Script>
        <s:Label text="Hello" />
        <s:Button label="show popup" click="popup(event)" />
        <s:RadioButton label="On" />
        <s:RadioButton label="Off" />
        <s:CheckBox label="one" />
        <s:CheckBox label="two" />
        <s:CheckBox label="three" />
</s:Application>

Thanks,
Justin

Reply via email to