Requirements are for a draggable "calculator" pop-up that looks like a
calculator i.e. the calculator image is the frame/border - irregular
shape - no rectangularPanel/TitleWindow. I created 2 components, the
calculator Image and an "inner" Panel component with calculator
functionality, titleBar drag and resizing.
   The size of the outer calculator Image is bound to the resize of
the inner Panel e.g.

var watcherSetter:ChangeWatcher = 
BindingUtils.bindSetter(calculatorImageWidth,sPanel,"width");

and this works perfectly. So I coded the synchronized drag of the 2
components with a titleBarMoveHandler() on the alpha=0 TitleBar of the
inner Panel:

this.startDrag();
calculatorImage.startDrag();

and then found the fine print - sprite.startDrag() - Only one sprite
is draggable at a time. So somebody gets left behind :-)

Can google no examples of this kind of thing, so any pointers
appreciated. TIA,

Mic.

Reply via email to