18 Replies Latest reply on Aug 9, 2007 10:40 AM by groveman

    ActionScript 2 help please!

    groveman
      Hi, I have 4 input variables and a permissible output: inputs = hookload, drag, area & speed and need to get the sqrt after the calculation of (drag*area) then multiply by speed but I keep getting syntax errors.

      permissible = "";
      calculate_btn.onPress = function() {

      if (speed>0 && hookload>0 && area >0 && drag >0){


      permissible = hookload*1.2/(drag*area)*speed)

      Your help is really appreciated