Hi there,

I have been working around the example from Adobe for creating TitleWindows.
The following code creates a titlewindow from a file called
SimpleTitleWindowExample.mxml
This is placed in the root folder, i.e. right below the project name. Now,
if I place this into a custom folder, let's say 'MyWindows' how can I modify
the following code so that it will be able to read from the new location?

private function showWindow():void {
    var login:SimpleTitleWindowExample=SimpleTitleWindowExample(
PopUpManager.createPopUp( this, SimpleTitleWindowExample , 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;
}



thanks a lot,

George

Reply via email to