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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

