It seems something unexpected is happening.

Can you set the property from the message box?
Does this happen in every instance?
Can you "put the uCurrObj of me into msg"? and get something that can be
evaluated/ (that is, non-binary?)

Try 'exit to top', since the calling handler may be expecting a 'result' and
stumble (I don't know the code calling hierarchy)

Try 'return empty' instead of 'exit unselectObjects'
Try 'answer the long id of me' instead of 'exit unselectObjects'


Just ideas.

Jim Ault
Las Vegas

On 6/20/07 12:43 AM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

> I'm wondering if anyone has a suggestion for finding a script error when the
> error dialog is (probably not) reporting the true cause of the error.
> 
> I have a card script handler that is called multiple times from a mouseMove
> handler.  It looks something like this:
> 
> on unselectObjects
>   if the uCurrObj of me = empty then exit unselectObjects
>   ...more stuff here
> end unselectObjects
> 
> Somewhere along the line, the IDE is throwing a script error on the second
> line of the above handler, but I'm not sure why:
> 
> Type    Chunk: can't set property
> Object    custom [name of the card]
> Line    if the uCurrObj of me = empty then exit unselectObjects
> Hint    unselectObjects
> 
> I am not setting any properties in the unselectObjects handler, thus I think
> the script error is, well, an error.
> 
> Any ideas on how to troubleshoot this?
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to