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
list.
|
Back
B6002 - How do I change button text in real time?
by - Joseph Ganci
Is it possible to change the label of a button (standard form) from within a Calculation icon in response to a change in a variable?
E.g.: Button for changing measure units from SI to Traditional Units...
I want to do something like (note that this is pseudocode, not Authorware code):
if userUnits = SI
set label of button
x to "Change to Traditional"
else set label of button x to "Change to SI"
end if
One way to do this is
to have two buttons which are activated on mutually exclusive conditions. In
one case, for instance, you may have the active if true box contain the user
variable "traditional" for when you want that button to appear, in the other
"~traditional", the opposite value, for when you would rather the other button
appear. If the buttons are sized the same and are placed exactly on top of one
another, it will have the effect you wish.
There are 0 reviews
Add your review
Back
|