My first OOP Class

hi there, i was told to learn OOP, and here is my first class.

it is to draw a box where you can set width, height, x, y, target movie clip, depth and lineStyle.

i test my fla but it returns error on getLineStyle function.

could you check what i did wrong in the .as.
And if possible, could you make it cleaner.

please check the attachment.

thx a lot guys. really appreciate it :smiley: