[flexcoders] Re: Preserve state in TitleWindow - mxml bind problems

2008-12-15 Thread dfrank76
logic to save the state of these controls on the click of the close button and then re-instate these saved states when re-opening the loginForm. HTH Steve --- In flexcoders@yahoogroups.com, dfrank76 dfrankson@ wrote: I am loading data in a popup title window and then I'd like

[flexcoders] Preserve state in TitleWindow - mxml bind problems

2008-12-02 Thread dfrank76
I am loading data in a popup title window and then I'd like to reuse that title window instance with all the loaded data an user input data any time the user clicks the button to pop it up. I'm having trouble with bound fields... I implemented it using an instance of a custom TitleWindow that

[flexcoders] TreeItemRenderer setting an icon to an embedded image

2008-11-11 Thread dfrank76
What is the proper way to set the icon from a TreeItemRenderer when using an embeded graphic file? I don't want to accidentally create hundreds of instances of it in memory. TreeItemRenderer.icon is an instance of IFlexDisplayObject which is implemented by BitmapDataAsset (the embedded