Monte, Normally, you can trigger a setProp in another object; you just can't trigger any setProps in the object you're in. For example, suppose you had two buttons with the following scripts:
-- Button 1 setProp age answer "Age" set the lemon of button 2 to 1 end age -- Button 2 setProp lemon answer "Lemon" end lemon If you do: set the age of btn 1 to 10 You will get two dialogs: "Age" and "Lemon". However, there is a workaround that will let you trigger another setProp in the *SAME* object... here's the script: -- Button 1 setProp age answer "Age" send "set the lemon of me to 1" to me in 10 milliseconds pass age end age setProp lemon answer "Lemon" end lemon If you do: set the age of btn 1 to 10 You'll get the same two dialogs: "Age" and "Lemon". Hopefully this will be fixed in the next version of MC/Rev. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ ----- Original Message ----- From: "Monte Goulding" <[EMAIL PROTECTED]> To: "Rev List" <[EMAIL PROTECTED]> Sent: Friday, June 21, 2002 8:35 PM Subject: setting customProperties from within one > Hi All > > Does anyone else have an opinion on the inability of rev/MC to activate a > setProp handler from within one. I can understand not being able to activate > the one your in but not being able to activate others sucks. It causes you > to do stupid workarounds like using a handler when you really wanted to use > a setProp. > > Vote 1 for being able to activate the setProp message of other > customProperties (not the one you are in). Perhaps just a way to override > BigBrother: > > something like: > set the x of y to z with setProp > or > setProp the x of y to z > > It does seem strange to me that the language will allow you to create > infinite loops in all ways but one?????? > > My 2 cents > > 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 > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
