Flash Remoting: The Definitive Guide by Tom Muck With Branden Hall, Joel Martinez, Alon Salant This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated January 22, 2004. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: (xvi) Paragraph 6, sentence 5; "Two tin cans with a taught string" should be: "Two tin cans with a taut string" (xvii) -the url at the bottom of this section: http://www.macromedia.com/software/generator/productinfo/faq/ is no longer available. (91) Table 3-4 ListBox entry ListBox FListbox.getSelectedItem(), FListbox.getSelectedItem(), FListbox.getSelectedIndex()... Should be: ListBox FListbox.getSelectedItem(), FListbox.getSelectedItems(), FListbox.getSelectedIndex()... (140) Line 13 trace("Event: " + infor.event); switch info.event){ case("sort"): ... Should be: trace("Event: " + infor.event); switch (info.event){ case("sort"): ... (146) Var my_conn; // Connection object var my service; // Service object should be: var my_conn; // Connection object var myService; // Service object (215) middle of the page Function setCombos() { categories_cb.pickValue (allProducts_dg.getSelectedItem().ProductID); suppliers_cb.pickValue (allProducts_dg.getSelectedItem().SupplierID); should be: Function setCombos() { categories_cb.pickValue (allProducts_dg.getSelectedItem().CategoryID); suppliers_cb.pickValue (allProducts_dg.getSelectedItem().SupplierID); (244) // Set up the gateway URL and initialization function var myURL = "http://localhost/flashservices/gateway"; function init () { NetServices.setDefaultGatewayUrl(myURL); var my_conn = NetServices.createGatewayConnection(); // Set up the Email service var myService = my_conn.getService("flashremoting.com.oreilly.frdg.Email"); } init(); should be: // Set up the gateway URL and initialization function var myURL = "http://localhost/flashservices/gateway"; function init () { NetServices.setDefaultGatewayUrl(myURL); var my_conn = NetServices.createGatewayConnection(); // Set up the Email service var myService = my_conn.getService("com.oreilly.frdg.EmailSSAS"); } init(); (245) MessageResponder.prototype.onResult = function (myResults) { status_mb._visible = false; grid_dg._visible = false; gotoAndPlay("message"); subject_txt.text = myResults.subject; from_txt.text = myResults.from + " <" + myResults.address + ">"; date_txt.text = myResults.date; body_txt.text = myResults.body; }; MessageResponder.prototype.onStatus = function (theError) { trace(theError.description); }; stop(); should be: MessageResponder.prototype.onResult = function (myResults) { status_mb._visible = false; grid_lb._visible = false; gotoAndPlay("message"); subject_txt.text = myResults.subject; from_txt.text = myResults.from + " <" + myResults.address + ">"; date_txt.text = myResults.date; body_txt.text = myResults.body; }; MessageResponder.prototype.onStatus = function (theError) { trace(theError.description); }; gotoAndPlay("user"); (295) under the .NET Editors sidebar -the url http://msdn.microsoft.net/vstudio Should be: http://msdn.microsoft.com/vstudio (348) third para from the bottom http://msdn.microsoft.com/webservices/downloads/microsoft/default.aspx should be: http://msdn.microsoft.com/webservices/downloads/default.aspx (352) (third para under heading) -the url http:www.soapclient.com/xml/SQLDataSoap.wsdl is broken (382) FListCheckItemClass.prototype = new FSelectableItemClass(); // EXTEND this method to change the content of an item and its layout FListCheckItemClass.prototype.layoutContent = function (width) { this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller}); this.fLabel_mc._x = 2; this.fLabel_mc._y = 0; this.icon_mc._x = width this.icon_mc._width); this.fLabel_mc.labelField.selectable = false; }; should be: FListCheckItemClass.prototype = new FSelectableItemClass(); // EXTEND this method to change the content of an item and its layout FListCheckItemClass.prototype.layoutContent = function(width) { this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller}); this.fLabel_mc._x = 2; this.fLabel_mc._y = 0; this.check_mc._x = width - this.check_mc._width - 10; this.fLabel_mc.setSize(width - 10 - this.check_mc._width); this.fLabel_mc.labelField.selectable = false; } (385) // Set upthe combo boxes to be able to pick a label FComboBoxClass.prototype.pickLabel = function(text){ var tempLength = this.getLength(); for (var i = 0; i < tempLength; i++){ if (this.getItemAt(i).label == value){ this.setSelectedIndex(i); break; } } }; should be: // Set upthe combo boxes to be able to pick a label FComboBoxClass.prototype.pickLabel = function(text){ var tempLength = this.getLength(); for (var i = 0; i < tempLength; i++){ if (this.getItemAt(i).label == text){ this.setSelectedIndex(i); break; } } }; (529-530) The footnotes on these pages are not attributed properly, and have been deleted on Safari. Also, the text at the end of the "Methods" section has been changed; "as indicated in the footnotes" has been deleted.