2 Replies Latest reply on Mar 8, 2010 2:50 PM by toft

    Unknown parameter types

    toft Level 1

      I have a function that puts a border on various components and containers.

      I wonder how I can datatype the component parameter.

       

      function myfunction(someComponent:whatDataTypeHere):void

      {

           someComponent.graphics.domakeabordeer...

      }

       

      I.e. how to deal with function parameters when the datatype is unknown ?

       

      Anyone?