Phil-

Close. That'll give you five answer dialogs. Try

on mouseUp
    local tMatch

    put false into tMatch
    repeat with x = 1 to 5
       put "A"&x into tName
       if the backgroundcolor of grc tName of grp "A" \
           = the backgroundcolor of grc tName of grp "B"
       then put false into tMatch
    end repeat
    if tMatch
    then answer "AnswerA"
    else answer "AnswerB"
end mouseUp

-- 
-Mark Wieder
 [email protected]

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

Reply via email to