1 Reply Latest reply on Mar 19, 2007 5:28 PM by Newsgroup_User

    script error property not found

    ajrobson
      I have a script that get a list of choosen check boxes, it was working fine but now when i press the button that calls the script i get a error saying "script error property not found" then it lists the line i have put a * next to and says #hilite

      This is the top part of that script and to my knowlegde i have not chnaged any of it and it worked before but now it does not, i also use a script almost identical to this but use it for radiobuttons instead and the line is the same in that and that script works, can anybody tell me what as gone wrong?

        • 1. Re: script error property not found
          Level 7
          I suspect you have a cast member that uses one of the three names in the
          list and it is not a check box. It's probably before the actual checkbox
          member in the cast so it's finding it first.

          --
          Craig Wollman
          Lingo Specialist
          Word of Mouth Productions
          212-928-9581

          www.wordofmouthpros.com
          "ajrobson" <webforumsuser@macromedia.com> wrote in message
          news:etn9j1$op2$1@forums.macromedia.com...
          >I have a script that get a list of choosen check boxes, it was working fine
          >but
          > now when i press the button that calls the script i get a error saying
          > "script
          > error property not found" then it lists the line i have put a * next to
          > and
          > says #hilite
          >
          > This is the top part of that script and to my knowlegde i have not chnaged
          > any
          > of it and it worked before but now it does not, i also use a script almost
          > identical to this but use it for radiobuttons instead and the line is the
          > same
          > in that and that script works, can anybody tell me what as gone wrong?
          >
          >
          >
          > global err
          >
          > on CheckBoxState -- name of custom handler
          > TickedBoxes = [] -- a empty list will be filled where ever a checkbox is
          > ticked
          > CheckBoxNames = ["Dr no", "From russia with love","Casino royale" ]
          > repeat with i = 1 to 3 -- repeat for each checkbox
          > CurrentCheckbox = CheckBoxNames
          > ** if the hilite of member(CurrentCheckbox) then -- if currentcheckbox
          > hilite
          > is true (checked)...
          > append(TickedBoxes,CurrentCheckbox )
          > end if
          > end repeat
          > return TickedBoxes
          > end
          >