How to display and calculate a total in text fields
hi 
 
i building risk assessment matrix , need perform simple calculation.
 
1st. on mouseup event (e.g. danger on scale of 1 5 user clicks box 5 weather) want display score in text field.
 
2nd when user has clicked of boxes need final total score box either automatically updated or click calculate button , show total score in text fields.
 
any suggestions or examples.
 
thanks in advance.
 
mike
 i building risk assessment matrix , need perform simple calculation.
1st. on mouseup event (e.g. danger on scale of 1 5 user clicks box 5 weather) want display score in text field.
2nd when user has clicked of boxes need final total score box either automatically updated or click calculate button , show total score in text fields.
any suggestions or examples.
thanks in advance.
mike
ok 
 
so first bit easy figure out:
 
on mouseup me
member("location").text = "5"
end
 
replicate each 'box' (location, weather, equipment, transport, first aid)
 
now how add .text="x" 5 boxes give grand total in box - member("total").text = "y"
so first bit easy figure out:
on mouseup me
member("location").text = "5"
end
replicate each 'box' (location, weather, equipment, transport, first aid)
now how add .text="x" 5 boxes give grand total in box - member("total").text = "y"
 More discussions in  Director Lingo         
adobe
 
  
Comments
Post a Comment