Behavior Nightmare

Jan Schenkel janschenkel at yahoo.com
Fri Feb 12 08:17:07 EST 2010


Do the groups have their 'backgroundBehavior' property set by any chance? In theory, a behavior acts like an object-specific backscript, but the message path for background groups is a tad strange when it comes to the card script, so who knows?
Can you confirm this with simple logging to a text field?

Jan Schenkel
=====
Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


--- On Fri, 2/12/10, Scott Rossi <scott at tactilemedia.com> wrote:

> From: Scott Rossi <scott at tactilemedia.com>
> Subject: Behavior Nightmare
> To: "Revolution Mail List" <use-revolution at lists.runrev.com>
> Date: Friday, February 12, 2010, 3:04 AM
> Does anyone know what the message
> order is for behaviors assigned to
> multiple objects?
> 
> I have a set behaviors assigned to a card, and a set of
> behaviors assigned
> to a group that is placed on the same card.  It seems
> that the behavior
> scripts of card are being handled *before* the behavior
> scripts of the
> group.  Is this expected behavior?  Is there some
> way I can have the scripts
> of group processed before those of the card?
> 
> I've been trying to migrate a bunch of object/card/stack
> scripts to
> behaviors and it has been a major pain trying to get
> messages to naturally
> "fall" between objects the same way messages work in the
> normal message
> hierarchy.  I can't use a single set of behaviors for
> all the objects
> because there are common mouse event messages that need to
> be handled across
> objects depending on what object is clicked (ie mouseDown
> on the group does
> something different than mouseDown on the card).
> 
> Thanks for any advice/suggestions (needed to have this done
> 2 days ago and
> am beating my head against the wall).
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 


      




More information about the use-livecode mailing list