Re: [flexcoders] Re:Placing TitleWindow source file in custom folder

2007-11-01 Thread George Georgiou
Great thanks for your help both guys

George



On 10/31/07, srikanth reddy [EMAIL PROTECTED] wrote:

   Use the following code
 instead of this use Application.application which is a
 pointer to the application and give the
 xmlns:ns=MyWindows.* where ever u call it in mxml;

 private function showWindow() :void {
 var login:SimpleTitleWi ndowExample= SimpleTitleWindo
 wExample(
 PopUpManager. createPopUp( Application.application as
 DisplayObject, SimpleTitleWindowEx ample , true));

 point1.x=myButton. x;
 point1.y=myButton. y;
 point1=myButton. localToGlobal( point1);
 login.x=point1. x+25;
 login.y=point1. y+25;
 login.loginName= returnedName;
 }

 __
 Do You Yahoo!?
 Tired of spam? Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com
 



[flexcoders] Re:Placing TitleWindow source file in custom folder

2007-10-31 Thread srikanth reddy
Use the following code
instead of this use Application.application which is a
pointer to the application and give the
xmlns:ns=MyWindows.* where ever u call it in mxml;

private function showWindow() :void {
var login:SimpleTitleWi ndowExample= SimpleTitleWindo
wExample(
PopUpManager. createPopUp( Application.application as
DisplayObject, SimpleTitleWindowEx ample , true));

point1.x=myButton. x;
point1.y=myButton. y;
point1=myButton. localToGlobal( point1);
login.x=point1. x+25;
login.y=point1. y+25;
login.loginName= returnedName;
}

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com