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
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: +
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
3 matches
Mail list logo