Most probably that is the case. 

I've fixed it quite simple...whenever I finish an drag action, I 
move the module loader and reset the widget's position inside the ML 
to (0,0). 

--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Quick thought before going to sleep:  ModuleLoader extends VBox so 
if
> its layout code runs it will reposition the child in its upper 
left.
> That might be what is getting you.
> 
>  
> > > 
> > > Hello,
> > > 
> > > Here's the story:
> > > I have a custom window and a class which defines a specific 
> > content 
> > > (pictures, text, other components and so on).
> > > 
> > > My module loads a custom window and sets its content to that 
> > > specific class (much like a popupmanager, if you like, but i 
> can't 
> > > use that for this project).
> > > 
> > > My problem is that, whenever one of the windows changes state, 
> it 
> > > jumps back to the upper left corner, where all moduleLoaders 
> > objects 
> > > are. 
> > > 
> > > I have implemented transitions between the states, and if I 
> remove 
> > > them, the window doesn't jump anymore.
> > > 
> > > One of the transitions looks like this:
> > > <mx:Transition id="resUp" fromState="*" toState="results">
> > > <mx:Sequence target="{this.parent.parent}">
> > > <mx:AddChildAction/>
> > > <mx:Resize target="{this.parent.parent}" heightTo="460"/>
> > > </mx:Sequence>
> > > </mx:Transition>
> > > 
> > > where this.parent.parent leads to the custom window.
> > > 
> > > Any ideas?
> > > Thanks!
> > >
> >
>


Reply via email to