Hello everybody,

I have the following problem: I have a custom "title window" built 
from scratch (extends Canvas); I also have a number of "widgets" 
which "extend" this window (they actually contain one instance of 
this window, and the content is generated and loaded inside it at 
runtime) and all widgets are loaded as modules afterwards.

I am able to drag and drop windows on the screen, and with each drag-
drop, I move the module loader so that inside the module, the "title 
window" is always situated at coordinates (0, 0) (except of course 
when actually dragging it).

My problem is this: when using a Zoom effect for the hideEffect, it 
resizes to the top-left corner. I tried changing the originX and 
originY values for the effect, but still nothing. 

Here is the actual effect:

<mx:Zoom id="myZoom"  
        originX="{origX}" originY="{origY}" />

where origX and origY are set when the content of the window and its 
width and height are set. I have also added a function for 
effectStart and it traces good values for origX and origY (width/2 
and height/2 of the window).

Any ideas?

Reply via email to