Trying to update object with a class

I have seen this asked a few times without a definative (for me) answer.

I would like to know

(i) the good way to do it

(ii) any down and dirty ways to do it

I want to modify the little brown box on the stage with my example.as class - both are attached with .jpg extensions.

Thanks.