The problem is that the TitleWindow in your example still takes up space in the application window. I need it to behave like a normal popup.
/****************************************** * Jeff Beeman ******************************************/ -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper Sent: Thursday, May 12, 2005 11:27 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Internal popups try this: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Button click="toggleVis()" label="click me"/> <mx:TitleWindow id="tw" title="Some title"> <mx:Label text="hi there"/> </mx:TitleWindow> <mx:Script> <![CDATA[ function toggleVis(){ tw.visible = !tw.visible; } ]]> </mx:Script> </mx:Application> At 02:21 PM 5/12/2005, you wrote: >I can't find an example or description of how to use the TitleWindow >component without it being in an external file. Any pointers? > > > >/****************************************** >* Jeff Beeman >******************************************/ > >---------- >From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On >Behalf Of Tracy Spratt >Sent: Thursday, May 12, 2005 10:45 AM >To: flexcoders@yahoogroups.com >Subject: RE: [flexcoders] Internal popups > >You probably want the TitleWindow component. > >Tracy > > >---------- >From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On >Behalf Of Jeff Beeman >Sent: Thursday, May 12, 2005 12:56 PM >To: flexcoders@yahoogroups.com >Subject: [flexcoders] Internal popups > >I've been scouring the documentation, but I can't seem to find how to do >something that should be quite simple. How do I create a popup window >that doesn't reference an external file? All examples point to loading in >an external mxml file, but I would like to simply create a panel that is >hidden on startup and have it hide / unhide on different events. Is this >possible? > > > >/******************************************* >* Jeff Beeman >* Digital Media & Instructional Technologies >* Arizona State University >*******************************************/ > > > > >---------- >Yahoo! Groups Links > * To visit your group on the web, go to: > * > <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group /flexcoders/ > > * > * To unsubscribe from this group, send an email to: > * > <mailto:[EMAIL PROTECTED]>flexc [EMAIL PROTECTED] > > * > * Your use of Yahoo! Groups is subject to the > <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service. Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/