[flexcoders] Overriding a read-only property

2007-03-19 Thread Nahid Mahfuza Alam
Hello, I need to modify the percentRect property (e.g.; x, y,width,height of percentRect) of DownloadProgressBar class. I have a class that extends the DownloadProgressBar class. But within my class (the subclass), assigning any value like percentRect.x=150 doesn't work as percentRect is a

Re: [flexcoders] Overriding a read-only property

2007-03-19 Thread Johannes Nel
public override function get name():type { return super.name; } public function set name(value:Type):void { do what you want } On 3/19/07, Nahid Mahfuza Alam [EMAIL PROTECTED] wrote: Hello, I need to modify the percentRect property (e.g.; x, y,width,height of percentRect) of