5 Replies Latest reply on Jun 1, 2007 12:47 PM by Newsgroup_User

    AS3 ... (rest) params do not work

    spectravp
      I think there is a problem with the ... rest cfapabilities in flash. If you pass a set of data to a function, that function will correctly implement the ... rest feature, essentially wrapping that set of data into an array.

      The problem is, pass that to another function and it gets passed as a string, not as an array. This defeats the whole purpose of the ... rest param. Just run the attached code and you will immediately see what I mean.

      So, is this a bug, or what?