In fact I reinstalled the Flex Server and the problem disappeared,
so it could be a problem with the Flex server or it's just my machine that
caused problems to the server's files directory.

Bye

Doug Lowder a écrit :
Your code, exactly as posted, works fine for me.  Do you have the
SimpleTitleWindow.mxml and TitleWindowApp.mxml files in the same
directory?

--- In flexcoders@yahoogroups.com, Alin DICU <[EMAIL PROTECTED]>
wrote:
>
> Hi,
>
> I'm having problems to create a popUp. My code is exactly the same
as
> the one in the Flex doc examples. Here it is again:
>
>
> ----------------------------SimpleTitleWindow.mxml-----------------
--------
> <mx:TitleWindow xmlns:mx="http://www.macromedia.com/2003/mxml"
> title="Title Window"
>     x="268" y="86" closeButton="true" click="this.deletePopUp();"
> width="200" height="180">
>
>     <mx:Label text="Enter Name: "/>
>     <mx:TextInput id="email" width="150"/>
>     <mx:Button label="Cancel" click="this.deletePopUp();"/>
>
> </mx:TitleWindow>
>
> ----------------------------TitleWindowApp.mxml
> <?xml version="1.0" encoding="utf-8"?>
> <!-- Simple application to demonstrate TitleWindow layout -->
> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns="*"
> backgroundColor="#FFFFFF">
>
>     <mx:Script>
>         <![CDATA[     
>         import SimpleTitleWindow;
>        function showWindow()
>        {
>          var login=mx.managers.PopUpManager.createPopUp(_root,
> SimpleTitleWindow, true, {deffered:true});
>        }
>       ]]>
>     </mx:Script>
>
>     <mx:Panel title="Simple Panel">
>
>         <mx:Button label="Click to view title window"
> click="showWindow();"/>
>
>     </mx:Panel>
>
> </mx:Application>
>
> When I launch TitleWindowApp I have the following error : The
class
> 'SimpleTitleWindow' could not be loaded.
>
> Do you have any advise?
>
> Thanks,
>








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to