Think of something that you wish Authorware could do but it doesn't?
Let the our good friends at Macromedia know via the wishlist.
Please let us know if you find
any of the materials on this site inappropriate or offensive. Please include
the url and why the material should be reviewed.
Comments and questions about the site are also welcome. Please no Authorware
questions, use the AWARE
There are 0 reviews
1035 - How do the active if field of buttons work?
by - Joseph Ganci
I'm struggling with how to inactivate a button after the user has viewed the content. I have a framework with multiple maps attached. The first map contains the buttons which then navigate the user to the topic (maps) they choose. Because there are 11 buttons, users tell me itís hard to remember what topic (button) they have reviewed. My thought is to inactivate the button after viewing. My guess is I need to add a statement in the "active if" field but I'm not sure how to make the variables and where to place them.
What you're looking to do is to include an expression in the Active If field (as you suspected). The easiest expression to use is a variable. Try this in the Active if fields:
This is a system variable called MatchedEver, tied to the Icon's identifier for the button you've attached this script to. The ~ symbol in front says to "not" it, so that you can read the above in English as:
"if the current response (button) has not been clicked (matched) before, keep it active, otherwise disable it"
BTW, this has been the same method since version 1.0 of Authorware. MatchedEver is a system variable, so you don't have to use your own user variable to do this. If, however, you want to track this information for a later session, you'll want to use your own user variable, or even better, lists. As you learn Authorware more and more, you'll be able to tap into the power of these features.
Add your review