Is there a way to attach a handle layer to another layer.
For example:

[Drag Here]+---------------------------+
            |                           |
            |      Layer                |
            +---------------------------+

So when you click on the "drag here" layer everything will move.
I have thought about doing something like:

draghere=new dynlayer();
draghere.setHTML("Drag Here");
draghere.moveTo(layer.getX()-draghere.getContentWidth(),layer.getY());
DynAPI.document.addChild(draghere);

But the problem that I have with this is how do I have the layer move if 
it isn't a part of it, and if I do get it to work, since they are 
different objects instead of child and parrent objects they may separate 
from one of eachother and have a delay (wich would look kinda wierd).
Also I would like to have a parent or child of the layer to simplify things.
        
Any sugestions?

Thanks
Matt


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to