I tried to update the title of an extension that consists of a modal dialog by
SetPanelMenu but it doesn't seem to work.
Has anybody any idea about it?
this.parent.parent.parent.parent.title = "My New Title";
I get the following error:
1119: Access of possibly undefined property title through a reference with static type flash.display:DisplayObjectContainer.
Play around with the number of parents. I don't know where you are calling this from...
The extension is of type modal dialog. I can initialize the title in the manifest file but I want to change it in run time.
I only have mx:Application.
Try using CSXSWindowedApplication. Does that help?
Yes, that helped.
Thank you very much!