Why is parameter.width nil

The following code prints ‘nil’. Why isn’t it printing a value? 

local function test(mytext) print(mytext.width) end test("moo")

Edit:

Oops, I think I know.  

mytext is not a display object therefore it hasn’t got the width property.  

Sorry to bother you. 

1 - mytext does not exist.

2- Or it has been removed and you’re passing a handle to the stub.

OR

  1. You want mytext.contentWidth

1 - mytext does not exist.

2- Or it has been removed and you’re passing a handle to the stub.

OR

  1. You want mytext.contentWidth