Found my error - was missing _parent.evt_obj in the last line below:
On 4/19/07, Alexander Farber <[EMAIL PROTECTED]> wrote:
PS: Below is my almost working code (the "card"
event doesn't dispatch yet for some reason,
but the rest works - card can be dragged etc.):
function releaseCard():Void {
setDepthTo(DepthManager.kTop);
_x += 1;
_y += 2;
_xscale = _yscale = 50;
filters = [];
stopDrag();
_parent.evt_obj.x = this._x;
_parent.dispatchEvent(evt_obj);
}
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com