Hi, I need desperately some help...how can I detect if some dragged object is moving right or left. Because I need to trigger some event when its moving right and other when it is moving left.

so far I'm trying to use this, but it appears to be useless.


this is the code inside the object which is dragged.


var xright = this._x+1;
var xleft = this._x-1;

if (this._x==xright){
launching
}
if(this._x==xleft){
launching2
}




regards



Gustavo Duenas

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to