# Window component fails! BUGS OR BUNNY?

**URL:** <https://forum.kirupa.com/t/window-component-fails-bugs-or-bunny/175167>\
**Category:** Uncategorized\
**Created:** [January 12, 2006, 5:46am UTC](https://forum.kirupa.com/t/window-component-fails-bugs-or-bunny/175167 "2006-01-12T05:46:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenin](https://avatars.discourse-cdn.com/v4/letter/f/90ced4/32.png) [@fenin](https://forum.kirupa.com/u/fenin)\
**Post date:** [January 12, 2006, 5:46am UTC](https://forum.kirupa.com/t/window-component-fails-bugs-or-bunny/175167/1 "2006-01-12T05:46:59Z")

</div>

I am experiecing a very weird problem with window component.  
There are two movieclips on stage.One with an instance name “mymov”  
,and another one with an instance name “dummy”.  
“dummy” has a class file ButtonManager.as attached to it through  
library.

On root timeline i have the following code:  
\*  
\*\*import mx.utils.Delegate;  
function logincall() {  
mx.managers.PopUpManager.createPopUp(\_root, mx.containers.Window,  
true);  
}

mymov.onPress = Delegate.create(this, logincall);\*\*  
\*  
The class file is a basic one with no functionality.It just contains:

\*\*\*class ButtonManager{

}\*\*\*

As it is evident,the code in root timeline should create an instance of  
Window on stage,if mymov is pressed.  
But this never happens as long as ,“dummy” instance resides on the  
stage.  
As you can see,the “dummy” instance has nothing in common with the code  
in root time line or “mymov” instance.  
I do have the window component in library.  
When mymov is pressed,a modal behaviour is created(see the value [COLOR=#3333FF]true[/COLOR] passed).But the component doesnt showup!!!  
Why is it like this?Is this a bug? I have posted this on flash8 forum [{here}](http://flashmx2004.com/forums/index.php?showtopic=8453)
