- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
// method that break down the application
public function hide():void
{
try
{
removeMenu();
TextField(txtTitle).text = '';
// WTF place - this setter raise error
TextArea(txt).htmlText = '';
} catch (e:Error) {
// russians are not surrender!
// catch error and call them recursively
trace(e);
hide();
}
}