0 Replies Latest reply on Jun 3, 2006 12:28 PM by Kevin_Boyd

    Delete

    Kevin_Boyd Level 1
      Trying to use the new Flash 8 Xtra API command pass a List to my flash sprite, acording to the documentation with it I should say the following in my Lingo attached to my flash sprite

      myList=["Hello"]
      flashArray = convert(#flashObjectArray, myList)
      sprite(spriteNum).setAllButtons(flashArray)

      And in my Flash 8 code I shoudl have

      setAllButtons=function(aLabels:Array){
      debug.text=">"+typeof(aLabels)+newline+aLabels[0]
      }

      When I run it the flash sprite shows in it's debug text filed that the aLabels is of type Object but it is undefined.
      I tried also using in Lingo this approach

      flashArray = convert(#List, myList)

      But that did not work either. Where am I going wrong?

      Many thanks

      Kevin