1 Reply Latest reply on Sep 5, 2006 4:30 AM by Newsgroup_User

    how to assign script to the button on the base of global varible

    farhanakhan
      hi guys
      i want to do apply two different scripts on the button on the base of the global varible values
      suppose that if global varible cantian "HB" then button has this script

      on mouseup me
      put "HB"
      end

      if global varible contain "PA" value then
      button has this script

      on mouseup me
      put "PA"
      end

      tell me what i do to assign script to the button on the base of global varible