check the Problems View for the error. Window > Show View. It's in the General category. This should show what errors exist in your app.
HTH On 4/16/2007 3:29 PM, fredsells wrote: > I've copied various examples of using PopUpManager.createPopUp but > cannot get it to work. I'm running from Eclipse using the flex > Eclipse plug-in under XP. Eclipse does not show any errors (i.e. red > marks) in either file, but when I run I get a dialog "Errors exist in > required application". > > I have tried creating a new project and still have the same problem. > I have been searching for 2 days now and cannot find a clue. My code > is below. > > Is there some way to get better debug/diagnostic info in this case. > Can anyone see what's wrong? > > _*zflex001.mxml*_ > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > > <mx:Script> > <![CDATA[ > import dialog; > function openDialog():Void { > var popupParent:zflex001 = this; > ! ; var isModal:Boolean = true; > var initObj:Object = { title:"Delete Record" }; > var verifyPopUp = mx.managers.PopUpManager.createPopUp( > popupParent, dialog, isModal, initObj ); > } > ]]> > </mx:Script> > <mx:Button label="Verify" click="openDialog();" /> > </mx:Application> > > > _*dialog.mxml*_ > > <?xml version="1.0" encoding="utf-8"?> > <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" > width="300" height="120" title="Verify Action" > > <mx:Label id="lblVerify" text="Are you sure you want to do > this?" /> > <mx:HBox> > <mx:Button label="Ok" /> > <mx:Button label="Cancel" /> > </mx:HBox> > </mx:TitleWindow> > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com >

