Here is an example:
 
Object.registerClass("packgage.myComponent", package.myComponent);
windowName="package.myComponent";

var oInitObj:Object = new Object();
oInitObj.title = "myWindow";
oInitObj.width = 600;
oInitObj.height = 200;
oInitObj.x = (1024/2)-300;
oInitObj.y = (768/2)-100;
oInitObj.modal=true;
var windowInstance:Object = TitleWindow(PopUpManager.createPopUp(this,mx.utils.ClassUtil.findClass(windowName),true,oInitObj,false));

Good luck,
Jose
 

2005/10/19, Jeremy Rottman <[EMAIL PROTECTED]>:
> I have created a small app that has a popup window that allows me to
> search. Is there a way to denote exactly where the popup will open. I
> would like to change it's default placement from the top left corner
> to the middle right of my screen.
>
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor --------------------~-->
> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
> http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
> --------------------------------------------------------------------~->
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 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/
>
>
>
>
>
>
 


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




YAHOO! GROUPS LINKS




Reply via email to