Got it:

The problem is that when you try to send the object reference it actually
sends the value of the object reference. What you need to do is force it to
send the literal by quoting it like this

on mouseUP
  send "changeObjectSide" && quote&the long ID of me&quote
end mouseUp

on changeObjectSide pObject
  put char 2 to -1 of pObject into pObject
-- note you must remove the quotes before using the
-- object reference and this could easily be done with a function
-- to simplify the code.
  put the rect of pObject into theRect
  put theRect
end changeObjectSide

Cheers

Monte Goulding
B.App.Sc. (Hons.)

Executive Director
Sweat Technologies

email: [EMAIL PROTECTED]
website: www.sweattechnologies.com
mobile: (+61) 0421 138 274


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to