#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Posts
    4
    Rep Power
    0

    Argument by reference


    Simple question, but I can't find the answer on Flash documentation.

    When creating a function, I would like to pass some arguments by reference. Does Flash (Flash 5) allows me to do this?

    Thanks
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Location
    Provo
    Posts
    36
    Rep Power
    12
    Passing by reference only happens when you pass a complex object.

    Simple objects like strings, numbers, etc. are passed by value.

    Complex objects like .. objects, are passed by reference.

    Nothing (that I know of) that you can do to control this.

IMN logo majestic logo threadwatch logo seochat tools logo