[flexcoders] Re: RichTextEditor - format preservation

2008-01-30 Thread bobignacio
Have you read up on the Cairngorm Microarchitecture? You may want to consider using this framework cuz what you are describing will handle that use case... updating multiple views when your data model changes. Here is the main page...there is also information in Adobe Labs as well. We've used

[flexcoders] Re: RichTextEditor - format preservation

2008-01-29 Thread bobignacio
Hi there, Snippet of your code... [Bindable] public var contents:String = ; private function handleChange(event:Event): void { contents = editor.htmlText; // My Debug trace(Change Fired and Caught); trace(Contents: + contents); trace(Editor Updated: +

Re: [flexcoders] Re: RichTextEditor - format preservation

2008-01-29 Thread Richard Rodseth
Bob, The point is to separate the model and view and automatically update the view(s) when the model changes (perhaps in response to a server call). Hence the binding. The bindable variable would be in a separate ActionScript class. In the bug report, I just made it a local variable for