PDA

View Full Version : Refresh class question


guywald
10-03-2008, 02:04 PM
Hi,

I have a link.as class, which contains link information such as www address, title, etc.

Then I create a square on screen with text inside it.
The square box has a width and height variables which may be updated using
public function set LinkWidth(inNewWidth:Number):Void {...}
After I update the width, is it possible to make the class somehow refresh so it will redraw the shape with the correct Width and Height?

Thanks in advance,
Guy