{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":118}],"scripts":[],"id":"C3D78599-C3BD-4AC4-B82B-31B63886F39C","shape":{"__isSmartRef__":true,"id":128},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"ElProfesorOnConnections","partsBinMetaInfo":{"__isSmartRef__":true,"id":129},"eventHandler":{"__isSmartRef__":true,"id":138},"layout":{"__isSmartRef__":true,"id":139},"scriptAnnotations":{"__isSmartRef__":true,"id":140},"pages":[{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":188},{"__isSmartRef__":true,"id":232},{"__isSmartRef__":true,"id":285},{"__isSmartRef__":true,"id":346}],"isBeingDragged":false,"currentPage":{"__isSmartRef__":true,"id":153},"doitContext":{"__isSmartRef__":true,"id":0},"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"derivationIds":[173,"0B6DFF53-FAEE-4ADB-8A38-30F995A6D310","C9A182E3-C9FF-4E30-BB9F-5B3DFF924401","8425CBCB-E869-4ABF-BD57-1DA77880057C","98BAAF67-D845-4FF6-B264-AA659C38126A"],"headRevision":140039,"_ClipMode":"visible","__serializedExpressions__":["distanceToDragEvent","_Position"],"_Rotation":0,"_Scale":1.02,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(426.0,32.0)","_Position":"lively.pt(0.0,0.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":34},{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":67},{"__isSmartRef__":true,"id":83}],"scripts":[],"id":"77217A5C-BA1E-40B7-B12C-1B68084033F6","shape":{"__isSmartRef__":true,"id":89},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HBox3","partsBinMetaInfo":{"__isSmartRef__":true,"id":90},"layout":{"__isSmartRef__":true,"id":91},"eventHandler":{"__isSmartRef__":true,"id":93},"isBeingDragged":false,"isInLayoutCycle":false,"staysOnPage":true,"scriptAnnotations":{"__isSmartRef__":true,"id":94},"owner":{"__isSmartRef__":true,"id":0},"prevScroll":[0,0],"derivationIds":[174,"16B78B8E-F05B-41DC-ABC0-E876A9E58528","E46C6622-67BF-4CE8-BDD3-24046F9E2B43","E75C4DFA-B77F-4DAB-BBCC-8BEC4C655A6C","60829827-FD4E-4E3E-9E44-F0CB76A2C4BA"],"_ClipMode":"visible","__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":0.998001000000002,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":96},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(116.3,487.8)","distanceToDragEvent":"lively.pt(277.4,-14.6)"},"2":{"submorphs":[{"__isSmartRef__":true,"id":3}],"scripts":[],"id":"7AD0D8BE-0FE1-4C22-AE42-F4EAA2DC9A39","shape":{"__isSmartRef__":true,"id":8},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":3},"name":"Button1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":9},"attributeConnections":[{"__isSmartRef__":true,"id":10}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":11},"staysOnPage":true,"owner":{"__isSmartRef__":true,"id":1},"isBeingDragged":false,"scriptAnnotations":{"__isSmartRef__":true,"id":12},"derivationIds":[175,"19716524-009C-4380-A93E-0904D8AF6F64","69790341-5470-41F7-96FA-2F33C61D86CE","9A82B7C6-B2B2-4220-9DBE-2E9ED19EE288","39043C0D-A669-46A0-964D-F4381DCA488A"],"_ClipMode":"visible","isPressed":false,"_StyleClassNames":["Morph","Button"],"__serializedExpressions__":["_Position","normalFill","lighterFill","distanceToDragEvent"],"_Rotation":0,"_Scale":0.996005996001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":14},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(4.3,4.3)","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"3":{"submorphs":[],"scripts":[],"id":"5F54C7F6-BEAC-451B-9C1C-F2EAD29DEC43","shape":{"__isSmartRef__":true,"id":4},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":69,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":2},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":5}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":7},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":69,"_MinTextHeight":null,"derivationIds":[176,"BF4230A5-4E70-45F5-9104-B80F5DAC2F37","2B93261B-0C35-464B-9672-A7A7900C18E5","79D8295A-087C-4AAE-8812-47C71CACEBC6","F5CB877B-90B6-4B80-AE34-824652CF2D9B"],"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"4":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"5":{"style":{"__isSmartRef__":true,"id":6},"chunkOwner":{"__isSmartRef__":true,"id":3},"storedString":"<","_id":"_13165","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7":{"morph":{"__isSmartRef__":true,"id":3},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8":{"_BorderWidth":1.1840000000000002,"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"9":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"10":{"sourceObj":{"__isSmartRef__":true,"id":2},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"onClick","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"11":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12":{"onClick":{"__isSmartRef__":true,"id":13}},"13":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:14:04 GMT-0700 (PDT)\")"},"14":{"onClick":{"__isSmartRef__":true,"id":15}},"15":{"varMapping":{"__isSmartRef__":true,"id":16},"source":"function onClick() {\n    this.owner.owner.previousPage();\n    this.owner.updatePageNumber();\n}","funcProperties":{"__isSmartRef__":true,"id":17},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"16":{"this":{"__isSmartRef__":true,"id":2}},"17":{},"18":{"submorphs":[{"__isSmartRef__":true,"id":19}],"scripts":[],"id":"6778C33A-4E98-4FAA-959C-A49F8D093C09","shape":{"__isSmartRef__":true,"id":24},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":19},"name":"Button2","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":25},"attributeConnections":[{"__isSmartRef__":true,"id":26}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":27},"staysOnPage":true,"owner":{"__isSmartRef__":true,"id":1},"scriptAnnotations":{"__isSmartRef__":true,"id":28},"derivationIds":[177,"209F5A55-8141-44DA-B684-9D9C7FCA540C","EAAA3AC7-0399-4BBC-A4D1-11EBA2D01C02","B937C22D-F54C-4BB8-B616-1E680069D839","53D984B3-8381-47E4-928B-32FB884B2F1E"],"_ClipMode":"visible","isPressed":false,"__serializedExpressions__":["_Position","normalFill","lighterFill","distanceToDragEvent"],"_Rotation":0,"_Scale":0.996005996001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":30},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(77.0,4.3)","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"19":{"submorphs":[],"scripts":[],"id":"1E8A60F7-1DAC-472A-BBB8-0517D8E9FDB6","shape":{"__isSmartRef__":true,"id":20},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":69,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":18},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":21}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":23},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":69,"_MinTextHeight":null,"derivationIds":[178,"B24D65EF-BAAC-44A5-A1A2-5DBDE7447CCB","78832A57-530F-493C-BBF9-373DEBAB819C","8B722D1E-2187-4ACE-91C7-07107108D8A9","CD457916-71D9-4A3E-A293-64326EDEDAF9"],"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"20":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"21":{"style":{"__isSmartRef__":true,"id":22},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"start","_id":"_13166","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"22":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23":{"morph":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"24":{"_BorderWidth":1.1840000000000002,"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"25":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"26":{"sourceObj":{"__isSmartRef__":true,"id":18},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":18},"targetMethodName":"onClick","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"27":{"morph":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"28":{"onClick":{"__isSmartRef__":true,"id":29}},"29":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:19:02 GMT-0700 (PDT)\")"},"30":{"onClick":{"__isSmartRef__":true,"id":31}},"31":{"varMapping":{"__isSmartRef__":true,"id":32},"source":"function onClick() {\n    this.owner.owner.start();\n    this.owner.updatePageNumber();\n}","funcProperties":{"__isSmartRef__":true,"id":33},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"32":{"this":{"__isSmartRef__":true,"id":18}},"33":{},"34":{"submorphs":[{"__isSmartRef__":true,"id":35}],"scripts":[],"id":"008CAB4D-85F9-4506-9224-F7132805050C","shape":{"__isSmartRef__":true,"id":40},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":35},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":41},"attributeConnections":[{"__isSmartRef__":true,"id":42}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":43},"owner":{"__isSmartRef__":true,"id":1},"staysOnPage":true,"scriptAnnotations":{"__isSmartRef__":true,"id":44},"prevScroll":[0,0],"derivationIds":[179,"1F665B98-8DB0-426C-AB9F-A442DF597E74","B13FBF18-3428-4567-8817-6BEA1D699696","369D49B1-1C46-492A-94F4-2DEC319EDE8F","34036F5D-79DB-4C45-9F71-14F2E0BF6909"],"_ClipMode":"visible","isPressed":false,"_StyleClassNames":["Morph","Button"],"__serializedExpressions__":["_Position","normalFill","lighterFill","distanceToDragEvent"],"_Rotation":0,"_Scale":0.996005996001,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":46},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(334.5,4.3)","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"35":{"submorphs":[],"scripts":[],"id":"16F37921-41CD-477A-AB19-697F0C8BEDB9","shape":{"__isSmartRef__":true,"id":36},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":69,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":34},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":37}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":39},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":69,"_MinTextHeight":null,"derivationIds":[180,"C881BF64-E75F-45CD-822B-95790678DE93","3D0309DC-0EAD-49AC-833A-1EEE4F8154AA","602FEDB6-82B9-47D2-B285-EC4B287FCF8B","0714E58F-B4E3-4C55-850D-1C794CC01AA6"],"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"36":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"37":{"style":{"__isSmartRef__":true,"id":38},"chunkOwner":{"__isSmartRef__":true,"id":35},"storedString":">","_id":"_13167","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"38":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"39":{"morph":{"__isSmartRef__":true,"id":35},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"40":{"_BorderWidth":1.1840000000000002,"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"41":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"42":{"sourceObj":{"__isSmartRef__":true,"id":34},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":34},"targetMethodName":"onClick","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"43":{"morph":{"__isSmartRef__":true,"id":34},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"44":{"onClick":{"__isSmartRef__":true,"id":45}},"45":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:14:21 GMT-0700 (PDT)\")"},"46":{"onClick":{"__isSmartRef__":true,"id":47}},"47":{"varMapping":{"__isSmartRef__":true,"id":48},"source":"function onClick() {\n    this.owner.owner.nextPage();\n    this.owner.updatePageNumber();\n}","funcProperties":{"__isSmartRef__":true,"id":49},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"48":{"this":{"__isSmartRef__":true,"id":34}},"49":{},"50":{"submorphs":[{"__isSmartRef__":true,"id":51}],"scripts":[],"id":"F015CD99-B227-4E1B-8D83-EFE18345D092","shape":{"__isSmartRef__":true,"id":56},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":51},"name":"Button3","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":57},"attributeConnections":[{"__isSmartRef__":true,"id":58}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":59},"staysOnPage":true,"owner":{"__isSmartRef__":true,"id":1},"scriptAnnotations":{"__isSmartRef__":true,"id":60},"derivationIds":[181,"8385CEFB-FD08-457A-AB94-5F49A807B3C4","74A135AE-33D0-4FE0-BAC3-0D6D5D6379EB","64E380FD-3929-45F7-A554-EC3884C5C272","71ED7127-97B0-4867-A6A7-5D6DE756F5EE"],"_ClipMode":"visible","isPressed":false,"_StyleClassNames":["Morph","Button"],"__serializedExpressions__":["_Position","normalFill","lighterFill","distanceToDragEvent"],"_Rotation":0,"_Scale":0.9900448802097483,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":63},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(261.9,4.3)","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"51":{"submorphs":[],"scripts":[],"id":"D22DF9FA-5A4C-4DE3-B9E2-4F3504317C71","shape":{"__isSmartRef__":true,"id":52},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":69,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":50},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":53}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":55},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":69,"_MinTextHeight":null,"derivationIds":[182,"CAE50C08-F61A-458F-8080-B13046682146","4E52F215-14C9-447A-B0A6-683CDBFEE95B","EB8A3AE6-B964-4AB4-BD3E-1B383A512CA6","2D3C48C9-576B-4966-83B6-8E9A438B9719"],"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"52":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"53":{"style":{"__isSmartRef__":true,"id":54},"chunkOwner":{"__isSmartRef__":true,"id":51},"storedString":"clear","_id":"_13168","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"54":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"55":{"morph":{"__isSmartRef__":true,"id":51},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"56":{"_BorderWidth":1.1840000000000002,"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"57":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"58":{"sourceObj":{"__isSmartRef__":true,"id":50},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":50},"targetMethodName":"onClick","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"59":{"morph":{"__isSmartRef__":true,"id":50},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"60":{"fire":{"__isSmartRef__":true,"id":61},"onClick":{"__isSmartRef__":true,"id":62}},"61":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:09:08 GMT-0700 (PDT)\")"},"62":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:09:35 GMT-0700 (PDT)\")"},"63":{"onClick":{"__isSmartRef__":true,"id":64}},"64":{"varMapping":{"__isSmartRef__":true,"id":65},"source":"function onClick() {\n    this.owner.owner.clearPage();\n}","funcProperties":{"__isSmartRef__":true,"id":66},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"65":{"this":{"__isSmartRef__":true,"id":50}},"66":{},"67":{"submorphs":[{"__isSmartRef__":true,"id":68}],"scripts":[],"id":"6FE726C7-04AA-4519-B7BB-898CC30BBA3C","shape":{"__isSmartRef__":true,"id":73},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":68},"name":"Button4","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":74},"attributeConnections":[{"__isSmartRef__":true,"id":75}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":76},"staysOnPage":true,"owner":{"__isSmartRef__":true,"id":1},"scriptAnnotations":{"__isSmartRef__":true,"id":77},"derivationIds":[183,"27F31BB0-780F-4350-A776-3ED79E7A9405","B3601584-75A3-46BC-90D3-61C7BE0CF3B6","F6C668BC-258E-406F-ACA7-ACCBD6E7393A","7992AE93-CD01-4EE2-9B13-DA1BE3FA2C5D"],"_ClipMode":"visible","isPressed":false,"_StyleClassNames":["Morph","Button"],"__serializedExpressions__":["_Position","normalFill","lighterFill","distanceToDragEvent"],"_Rotation":0,"_Scale":0.9900448802097483,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(149.6,4.3)","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"68":{"submorphs":[],"scripts":[],"id":"C74FE009-C1DE-45CC-A789-5943287DD95F","shape":{"__isSmartRef__":true,"id":69},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":69,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":67},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":70}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":72},"_HandStyle":"default","_PointerEvents":"none","_MinTextWidth":69,"_MinTextHeight":null,"derivationIds":[184,"828966AC-098F-4538-9648-201B147BB609","66E663F0-1F07-4A4C-BE00-45DB2F3AA4F1","273912D8-EE77-40E8-B596-9B6EADE5874E","8335EB5C-EE70-4636-8C3C-AB1D2EDEEFFD"],"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"69":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"70":{"style":{"__isSmartRef__":true,"id":71},"chunkOwner":{"__isSmartRef__":true,"id":68},"storedString":"save as:","_id":"_13169","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"71":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"72":{"morph":{"__isSmartRef__":true,"id":68},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"73":{"_BorderWidth":1.1840000000000002,"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(69.0,23.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"74":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"75":{"sourceObj":{"__isSmartRef__":true,"id":67},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":67},"targetMethodName":"onClick","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"76":{"morph":{"__isSmartRef__":true,"id":67},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"77":{"onClick":{"__isSmartRef__":true,"id":78}},"78":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:15:53 GMT-0700 (PDT)\")"},"79":{"onClick":{"__isSmartRef__":true,"id":80}},"80":{"varMapping":{"__isSmartRef__":true,"id":81},"source":"function onClick() {\n    this.owner.owner.savePageAs(this.get('pageNumber').textString);\n}","funcProperties":{"__isSmartRef__":true,"id":82},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"81":{"this":{"__isSmartRef__":true,"id":67}},"82":{},"83":{"submorphs":[],"scripts":[],"id":"B79E4C99-0297-4488-98C6-C32BFDE125C4","shape":{"__isSmartRef__":true,"id":84},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":36,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"pageNumber","partsBinMetaInfo":{"__isSmartRef__":true,"id":85},"textChunks":[{"__isSmartRef__":true,"id":86}],"charsReplaced":"4","lastFindLoc":2,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":88},"owner":{"__isSmartRef__":true,"id":1},"_MinTextWidth":36,"_MinTextHeight":null,"isBeingDragged":false,"lastDragTime":1316563557419,"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","derivationIds":[185,"C6DB74E6-5023-48E3-94C1-69082F54782E","B7C6FBF9-4D3C-4668-8577-EDA37CF8C54A","3AFB5F36-0C01-4292-B910-C3E084534B2D","9D3D15D5-2F44-49E7-B583-E4A026488506"],"__serializedExpressions__":["_Position","textColor","_Padding"],"_Rotation":0,"_Scale":0.9960059960010019,"_Align":"center","__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(222.2,4.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"84":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(36.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"85":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"86":{"style":{"__isSmartRef__":true,"id":87},"chunkOwner":{"__isSmartRef__":true,"id":83},"_id":"_4159","storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"87":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"88":{"morph":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"89":{"_BorderWidth":1,"_BorderRadius":6.660000000000001,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(407.8,31.6)","_BorderColor":"Color.rgb(255,209,69)","_Fill":"Color.rgb(255,223,174)","_Padding":"lively.rect(0,0,0,0)"},"90":{"partsSpaceName":"PartsBin/Layout/","comment":"A simple box morph","migrationLevel":2,"partName":"HBox","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"91":{"layouter":{"__isSmartRef__":true,"id":92}},"92":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":4.315,"spacing":3.64,"container":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.Layout.HorizontalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"93":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"94":{"updatePageNumber":{"__isSmartRef__":true,"id":95}},"95":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 16:15:16 GMT-0700 (PDT)\")"},"96":{"updatePageNumber":{"__isSmartRef__":true,"id":97}},"97":{"varMapping":{"__isSmartRef__":true,"id":98},"source":"function updatePageNumber() {\n    var pageNumber = this.owner.currentPage.pageNumber;\n    this.get('pageNumber').textString = pageNumber ? pageNumber : '0';\n}","funcProperties":{"__isSmartRef__":true,"id":99},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"98":{"this":{"__isSmartRef__":true,"id":1}},"99":{},"100":{"submorphs":[],"scripts":[],"id":"2FE15262-E86F-447F-B6AA-34623FEA71C9","shape":{"__isSmartRef__":true,"id":101},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":535,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":102},"textChunks":[{"__isSmartRef__":true,"id":103}],"charsReplaced":"this.nextPage()","lastFindLoc":363,"priorSelectionRange":[124,133],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":105},"_MinTextWidth":535,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[51,71],"owner":{"__isSmartRef__":true,"id":0},"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","derivationIds":[186,"931B21BA-70FD-4588-A2EC-1D911137D9F3","BE45123D-958A-43E0-8A67-09D59ED30C3C","60FCA95B-26FB-40AF-B012-EE252A0C0052","349F8F8E-1C70-46D9-88D1-A14A6EBC0ED4"],"__serializedExpressions__":["_Position","textColor","_Padding"],"_Rotation":0,"_Scale":0.996005996001,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(61.6,108.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"101":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(535.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"102":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"103":{"style":{"__isSmartRef__":true,"id":104},"chunkOwner":{"__isSmartRef__":true,"id":100},"storedString":"","_id":"_13204","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"104":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"105":{"morph":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"106":{"submorphs":[],"scripts":[],"id":"2EB1E9C8-41D9-4B61-8DD7-C881B4B470E3","shape":{"__isSmartRef__":true,"id":107},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":476,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":108},"textChunks":[{"__isSmartRef__":true,"id":109}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":111},"_MinTextWidth":476,"_MinTextHeight":null,"previousSelection":[5,5],"_WhiteSpaceHandling":"pre-wrap","isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":0},"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","derivationIds":[187,"D2C73233-5C4A-4522-B650-05A949C95090","D9060A8F-A786-41A8-AD26-D963CF3C4096","4264907A-F1DA-4E2C-BCC3-9100201A5E57","7BDFBB4D-F69A-415F-8244-19D1FBDF4D69"],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":0.9900448802097485,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(311.2,-13.9)"},"107":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(476.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"108":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"109":{"style":{"__isSmartRef__":true,"id":110},"chunkOwner":{"__isSmartRef__":true,"id":106},"storedString":"","_id":"_13205","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"110":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"111":{"morph":{"__isSmartRef__":true,"id":106},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"112":{"submorphs":[],"scripts":[],"id":"3479CD94-4D5D-4D25-B274-4490E643A99A","shape":{"__isSmartRef__":true,"id":113},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":476,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":114},"textChunks":[{"__isSmartRef__":true,"id":115}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[9,20],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":117},"_MinTextWidth":476,"_MinTextHeight":null,"previousSelection":[9,20],"_WhiteSpaceHandling":"pre-wrap","isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":0},"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","derivationIds":[188,"5214E109-1758-460A-9F62-6487BC74E7DB","9C7A3BBE-9C45-4E56-8B74-4A06259E48BF","69D2E9B2-4833-494B-8DFB-060C4EC2048C","1131FB96-0A08-4E02-AFC7-CA80A9AB7759"],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"_Rotation":0,"_Scale":0.9900448802097488,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(314.2,-7.8)"},"113":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(476.0,42.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"114":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"115":{"style":{"__isSmartRef__":true,"id":116},"morph":{"__isSmartRef__":true,"id":112},"chunkOwner":{"__isSmartRef__":true,"id":112},"storedString":"Morphic: Connections","_id":"_13171","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"116":{"fontSize":27,"fontWeight":"bold","italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(244,173,0)"},"117":{"morph":{"__isSmartRef__":true,"id":112},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"118":{"submorphs":[],"scripts":[],"id":"6FB8A973-D776-44D1-9E36-056391982CAC","shape":{"__isSmartRef__":true,"id":119},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":535,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":120},"textChunks":[{"__isSmartRef__":true,"id":121},{"__isSmartRef__":true,"id":123},{"__isSmartRef__":true,"id":125}],"charsReplaced":"this.nextPage()","lastFindLoc":363,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":127},"_MinTextWidth":535,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"owner":{"__isSmartRef__":true,"id":0},"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","derivationIds":[189,"3D5F9C57-5ABE-4EB9-BC37-99E3CA1CD710","43D573CA-4D74-49E0-8595-5AA3BD793F73","6AB29CCA-24D2-4446-BA66-9B3E4E9FABA9","55D1F1B1-229D-448C-8260-0BEBF4B146A0"],"previousSelection":[438,438],"priorSelectionRange":[73,73],"__serializedExpressions__":["_Position","textColor","_Padding"],"_Rotation":0,"_Scale":0.996005996001,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(54.7,96.4)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"119":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(535.0,308.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"120":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"121":{"style":{"__isSmartRef__":true,"id":122},"chunkOwner":{"__isSmartRef__":true,"id":118},"storedString":"One way for Morphs to interact with each other are ","_id":"_13172","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"122":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"123":{"style":{"__isSmartRef__":true,"id":124},"chunkOwner":{"__isSmartRef__":true,"id":118},"storedString":"AttributeConnections","_id":"_13173","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"124":{"fontWeight":"bold","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"125":{"style":{"__isSmartRef__":true,"id":126},"chunkOwner":{"__isSmartRef__":true,"id":118},"storedString":".  You can tell a Morph to execute a function once an attribute of another morph has changed.\n\n\nIn this part of the tutorial you will learn\n\n- how to graphically connect Morphs\n- how to programmatically connect Morphs\n- how to use converter functions in AttributeConnections.\n\n\nLet's go. (Use the '<' and '>' buttons below to navigate back and forth in this tutorial.)","_id":"_13174","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"126":{"fontWeight":"normal","italics":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"127":{"morph":{"__isSmartRef__":true,"id":118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"128":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":3.7000000000000006,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(633.1,487.8)","_BorderColor":"Color.rgb(255,255,255)","_Fill":"Color.rgb(255,241,215)","_Padding":"lively.rect(0,0,0,0)"},"129":{"partsSpaceName":"PartsBin/Documentation/","comment":"ElProfesor is an interactive tutorial inspired by Stephane Ducasse's ProfStef \nthat's available in Pharo. ","migrationLevel":8,"partName":"ElProfesorOnConnections","changes":[{"__isSmartRef__":true,"id":130},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":132},{"__isSmartRef__":true,"id":133},{"__isSmartRef__":true,"id":134},{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":136},{"__isSmartRef__":true,"id":137}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Mon Aug 12 2013 15:19:51 GMT-0700 (PDT)\")"},"130":{"author":"TedKaehler","message":"Added a page that says The End.","id":"7CDA5733-BCDA-49A0-A63D-45F116839E45","__serializedExpressions__":["date"],"date":"new Date(\"Fri Aug 09 2013 13:39:54 GMT-0700 (PDT)\")"},"131":{"author":"fbo","message":"","id":"D6653D21-B7C7-4986-A159-C2B1B4C0CAB3","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 15 2012 17:31:49 GMT-0800 (PST)\")"},"132":{"author":"jenslincke","message":"- replaced part that involved editing converter functions through a visual connection","id":"22787E01-2731-4ABF-AB0E-5A24A64C0331","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 29 2012 05:35:59 GMT-0800 (PST)\")"},"133":{"author":"jenslincke","message":"","id":"E658D69E-6D19-4249-BB07-F322FDE51F23","__serializedExpressions__":["date"],"date":"new Date(\"Wed Feb 29 2012 05:38:00 GMT-0800 (PST)\")"},"134":{"author":"TedTest1","message":"changed right-click to Cmd-click.  Other spacing issues fixed.","id":"AAF06460-F5D7-4006-B09F-DC8135DAB444","__serializedExpressions__":["date"],"date":"new Date(\"Mon Aug 12 2013 15:15:39 GMT-0700 (PDT)\")"},"135":{"author":"TedTest1","message":"replaced right-click with Cmd-click.  Other minor fixes.","id":"973E8046-1710-4A81-AB73-5419C3A6BB5A","__serializedExpressions__":["date"],"date":"new Date(\"Mon Aug 12 2013 15:19:51 GMT-0700 (PDT)\")"},"136":{"author":"TedTest1","message":"Open showing Page 0.","id":"BB5C407A-37F9-4CBA-9909-734F647D9607","__serializedExpressions__":["date"],"date":"new Date(\"Mon Aug 12 2013 15:20:50 GMT-0700 (PDT)\")"},"137":{"__serializedExpressions__":["date"],"author":"robertkrahn","message":"styling","id":"62B663FF-C731-4E46-A5CE-F1F3566D0DEA","date":"new Date(\"Sat Jun 28 2014 20:24:46 GMT-0700 (PDT)\")"},"138":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"139":{},"140":{"start":{"__isSmartRef__":true,"id":141},"showPage":{"__isSmartRef__":true,"id":142},"savePage":{"__isSmartRef__":true,"id":143},"getPage":{"__isSmartRef__":true,"id":144},"clearPage":{"__isSmartRef__":true,"id":145},"nextPage":{"__isSmartRef__":true,"id":146},"sortPages":{"__isSmartRef__":true,"id":147},"showPageByNumber":{"__isSmartRef__":true,"id":148},"savePageAs":{"__isSmartRef__":true,"id":149},"previousPage":{"__isSmartRef__":true,"id":150},"addMorph":{"__isSmartRef__":true,"id":151},"savePageAtTheEnd":{"__isSmartRef__":true,"id":152}},"141":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:57:26 GMT-0700 (PDT)\")"},"142":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:47:55 GMT-0700 (PDT)\")"},"143":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:22:27 GMT-0700 (PDT)\")"},"144":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:30:54 GMT-0700 (PDT)\")"},"145":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Tue Sep 20 2011 15:57:04 GMT-0700 (PDT)\")"},"146":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:53:46 GMT-0700 (PDT)\")"},"147":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:35:27 GMT-0700 (PDT)\")"},"148":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 13:49:15 GMT-0700 (PDT)\")"},"149":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 15:13:41 GMT-0700 (PDT)\")"},"150":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 14:18:45 GMT-0700 (PDT)\")"},"151":{"user":"fbo","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 14:39:56 GMT-0700 (PDT)\")"},"152":{"user":"lauritz","__serializedExpressions__":["time"],"time":"new Date(\"Fri Sep 16 2011 16:09:03 GMT-0700 (PDT)\")"},"153":{"pageNumber":"0","morphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":100},{"__isSmartRef__":true,"id":106},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":118}]},"154":{"pageNumber":"1","morphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":155},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":182}]},"155":{"submorphs":[],"scripts":[],"id":356,"shape":{"__isSmartRef__":true,"id":156},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":476,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":157},"textChunks":[{"__isSmartRef__":true,"id":158}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":160},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":476,"_MinTextHeight":null,"previousSelection":[0,7],"_WhiteSpaceHandling":"pre-wrap","isBeingDragged":false,"owner":null,"_Rotation":0,"_Scale":0.9900448802097485,"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(316.4,-12.9)"},"156":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(476.0,42.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"157":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"158":{"style":{"__isSmartRef__":true,"id":159},"morph":{"__isSmartRef__":true,"id":155},"chunkOwner":{"__isSmartRef__":true,"id":155},"storedString":"Morphic: Connections","_id":"_13175","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"159":{"fontSize":27,"fontWeight":"bold","italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(244,173,0)"},"160":{"morph":{"__isSmartRef__":true,"id":155},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"161":{"submorphs":[{"__isSmartRef__":true,"id":162}],"scripts":[],"id":1375,"shape":{"__isSmartRef__":true,"id":165},"droppingEnabled":true,"halosEnabled":true,"attributeConnections":[{"__isSmartRef__":true,"id":166}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"sliderExtent":0.1,"valueScale":1,"sliderKnob":{"__isSmartRef__":true,"id":162},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"Slider","partsBinMetaInfo":{"__isSmartRef__":true,"id":167},"eventHandler":{"__isSmartRef__":true,"id":168},"layout":{"__isSmartRef__":true,"id":169},"owner":null,"_Rotation":0,"_Scale":0.996005996001,"value":0.2006,"_ClipMode":"visible","__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Slider","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(73.6,282.3)","distanceToDragEvent":"lively.pt(101.4,-2.5)"},"162":{"submorphs":[],"scripts":[],"id":1376,"shape":{"__isSmartRef__":true,"id":163},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"slider":{"__isSmartRef__":true,"id":161},"owner":{"__isSmartRef__":true,"id":161},"styleClass":["slider_horizontal"],"eventHandler":{"__isSmartRef__":true,"id":164},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","__serializedExpressions__":["_Position","hitPoint"],"__LivelyClassName__":"lively.morphic.SliderKnob","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(27.1,0.0)","hitPoint":"lively.pt(963.0,194.0)"},"163":{"_BorderWidth":1,"_BorderRadius":6,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(15.0,30.0)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(196,211,221),\n    offset: 0\n  },{\n    color: Color.rgb(137,167,187),\n    offset: 0.5\n  },{\n    color: Color.rgb(96,130,153),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Padding":"lively.rect(0,0,0,0)"},"164":{"morph":{"__isSmartRef__":true,"id":162},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"165":{"_BorderWidth":1,"_BorderRadius":6,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(150.0,30.0)","_BorderColor":"Color.rgb(192,192,192)","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(204,204,204),\n    offset: 0\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 0.4\n  },{\n    color: Color.rgb(245,245,245),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Padding":"lively.rect(0,0,0,0)"},"166":{"sourceObj":{"__isSmartRef__":true,"id":161},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":161},"targetMethodName":"adjustSliderParts","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"167":{"requiredModules":[],"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"168":{"morph":{"__isSmartRef__":true,"id":161},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"169":{},"170":{"submorphs":[],"scripts":[],"id":1460,"shape":{"__isSmartRef__":true,"id":171},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":160,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":172},"textChunks":[{"__isSmartRef__":true,"id":173}],"charsReplaced":"s","lastFindLoc":6,"priorSelectionRange":[0,4],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":175},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"_MinTextWidth":160,"_MinTextHeight":null,"_Rotation":0,"_Scale":0.996005996001,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[6,6],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(355.9,288.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(121.9,-12.3)"},"171":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(160.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"172":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"173":{"style":{"__isSmartRef__":true,"id":174},"morph":{"__isSmartRef__":true,"id":170},"chunkOwner":{"__isSmartRef__":true,"id":170},"storedString":"some text ","_id":"_13176","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"174":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"175":{"morph":{"__isSmartRef__":true,"id":170},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"176":{"submorphs":[],"scripts":[],"id":1932,"shape":{"__isSmartRef__":true,"id":177},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":528,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":178},"textChunks":[{"__isSmartRef__":true,"id":179}],"charsReplaced":"invoke","lastFindLoc":148,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":181},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":528,"_MinTextHeight":null,"previousSelection":[351,351],"owner":null,"_Rotation":0,"_Scale":0.996005996001,"doitContext":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","priorSelectionRange":[142,148],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(60.6,52.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"177":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(528.0,176.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"178":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"179":{"style":{"__isSmartRef__":true,"id":180},"chunkOwner":{"__isSmartRef__":true,"id":176},"storedString":"The first thing we want to do is to display the value of a slider morph in the text morph next to it.\n\nTo do this, Cmd-click on the slider to see its halo.  Click on the (M) handle in the upper left corner and select 'connect', then 'value'.  You'll be dragging a text field with 'value' written on it.  Drop it on 'some text'.\nA menu will appear.  Select 'textString' from that menu. ","_id":"_13177","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"180":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"181":{"morph":{"__isSmartRef__":true,"id":176},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"182":{"submorphs":[],"scripts":[],"id":2245,"shape":{"__isSmartRef__":true,"id":183},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":523,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":184},"textChunks":[{"__isSmartRef__":true,"id":185}],"charsReplaced":"some text ","lastFindLoc":10,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":187},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"_MinTextWidth":523,"_MinTextHeight":null,"_Rotation":0,"_Scale":0.996005996001,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[26,26],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","priorSelectionRange":[47,47],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(65.6,351.9)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"183":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(523.0,66.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"184":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"185":{"style":{"__isSmartRef__":true,"id":186},"morph":{"__isSmartRef__":true,"id":182},"chunkOwner":{"__isSmartRef__":true,"id":182},"storedString":"Now move the slider handle to change its value.  You'll notice how the text of the connected Morph changes between 0.0 and 1.0, depending on the slider's value.","_id":"_13178","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"186":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"187":{"morph":{"__isSmartRef__":true,"id":182},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"188":{"pageNumber":"2","morphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":189},{"__isSmartRef__":true,"id":195},{"__isSmartRef__":true,"id":213},{"__isSmartRef__":true,"id":219},{"__isSmartRef__":true,"id":228}]},"189":{"submorphs":[],"scripts":[],"id":2662,"shape":{"__isSmartRef__":true,"id":190},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":476,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":191},"textChunks":[{"__isSmartRef__":true,"id":192}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[0,7],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":194},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":476,"_MinTextHeight":null,"previousSelection":[0,7],"_WhiteSpaceHandling":"pre-wrap","isBeingDragged":false,"owner":null,"doitContext":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":0.9900448802097485,"_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(305.4,-5.8)"},"190":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(476.0,42.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"191":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"192":{"style":{"__isSmartRef__":true,"id":193},"morph":{"__isSmartRef__":true,"id":189},"chunkOwner":{"__isSmartRef__":true,"id":189},"storedString":"Morphic: Connections","_id":"_13179","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"193":{"fontSize":27,"fontWeight":"bold","italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(244,173,0)"},"194":{"morph":{"__isSmartRef__":true,"id":189},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"195":{"submorphs":[],"scripts":[],"id":2783,"shape":{"__isSmartRef__":true,"id":196},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":527,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":197},"textChunks":[{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":200},{"__isSmartRef__":true,"id":202},{"__isSmartRef__":true,"id":204},{"__isSmartRef__":true,"id":206},{"__isSmartRef__":true,"id":208},{"__isSmartRef__":true,"id":210}],"charsReplaced":"","lastFindLoc":68,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":212},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"_MinTextWidth":527,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[153,153],"_Rotation":0,"_Scale":0.996005996001,"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","priorSelectionRange":[151,151],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(49.7,79.5)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"196":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(527.0,132.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"197":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"198":{"style":{"__isSmartRef__":true,"id":199},"morph":{"__isSmartRef__":true,"id":195},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":"There is also a way to connect Morphs using the ","_id":"_13180","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"199":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"200":{"style":{"__isSmartRef__":true,"id":201},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":"connect","_id":"_13181","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"201":{"fontWeight":"bold","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"202":{"style":{"__isSmartRef__":true,"id":203},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":" function.\n\nIn this example, we'll connect a button's ","_id":"_13182","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"203":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"204":{"style":{"__isSmartRef__":true,"id":205},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":"fire","_id":"_13183","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"205":{"fontWeight":"bold","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"206":{"style":{"__isSmartRef__":true,"id":207},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":" event to a rectangle's ","_id":"_13184","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"207":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"208":{"style":{"__isSmartRef__":true,"id":209},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":"remove","_id":"_13185","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"209":{"fontWeight":"bold","italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"210":{"style":{"__isSmartRef__":true,"id":211},"chunkOwner":{"__isSmartRef__":true,"id":195},"storedString":" method.  It will cause the rectangle to disappear from the screen.","_id":"_13186","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"211":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"212":{"morph":{"__isSmartRef__":true,"id":195},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"213":{"submorphs":[],"scripts":[],"id":794,"shape":{"__isSmartRef__":true,"id":214},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":476,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":215},"textChunks":[{"__isSmartRef__":true,"id":216}],"charsReplaced":"D","lastFindLoc":54,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":218},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"_MinTextWidth":476,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[45,45],"_Rotation":0,"_Scale":0.996005996001,"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","priorSelectionRange":[53,54],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(50.7,318.1)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(323.3,-21.0)"},"214":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(476.0,132.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"215":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"216":{"style":{"__isSmartRef__":true,"id":217},"chunkOwner":{"__isSmartRef__":true,"id":213},"storedString":"Highlight the following code and press Ctrl-d or Cmd-d:\n\nconnect(this.get('myButton'), 'fire', this.get('myRectangle'), 'remove');\n\nThen click on the button.","_id":"_13187","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"217":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"218":{"morph":{"__isSmartRef__":true,"id":213},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"219":{"submorphs":[{"__isSmartRef__":true,"id":220}],"scripts":[],"id":600,"shape":{"__isSmartRef__":true,"id":225},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":220},"name":"myButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":226},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"eventHandler":{"__isSmartRef__":true,"id":227},"owner":null,"isBeingDragged":false,"_Rotation":0,"_Scale":0.996005996001,"_ClipMode":"visible","__serializedExpressions__":["_Position","normalFill","lighterFill","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(51.7,240.6)","normalFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","lighterFill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(250,250,250),\n    offset: 0\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.4\n  },{\n    color: Color.rgb(232,232,232),\n    offset: 0.6\n  },{\n    color: Color.rgb(248,248,248),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","distanceToDragEvent":"lively.pt(54.9,-11.0)"},"220":{"submorphs":[],"scripts":[],"id":601,"shape":{"__isSmartRef__":true,"id":221},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":219},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":222}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":224},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":101,"_MinTextHeight":null,"__serializedExpressions__":["_Position","padding","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)"},"221":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"222":{"style":{"__isSmartRef__":true,"id":223},"chunkOwner":{"__isSmartRef__":true,"id":220},"storedString":"button","_id":"_13188","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"223":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"224":{"morph":{"__isSmartRef__":true,"id":220},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"225":{"_BorderWidth":1.1840000000000002,"_BorderRadius":5.2,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(101.0,21.0)","_BorderColor":"Color.rgb(214,214,214)","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(245,245,245),\n    offset: 0\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.4\n  },{\n    color: Color.rgb(209,209,209),\n    offset: 0.6\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Padding":"lively.rect(0,0,0,0)"},"226":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"227":{"morph":{"__isSmartRef__":true,"id":219},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"228":{"submorphs":[],"scripts":[],"id":717,"shape":{"__isSmartRef__":true,"id":229},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"myRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":230},"eventHandler":{"__isSmartRef__":true,"id":231},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"_Rotation":0,"_Scale":0.996005996001,"_ClipMode":"visible","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(385.7,215.7)"},"229":{"_BorderWidth":1,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(143.0,80.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"230":{"partsSpaceName":"PartsBin/Basic","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"Rectangle","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"231":{"morph":{"__isSmartRef__":true,"id":228},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"232":{"pageNumber":"3","morphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":233},{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":245},{"__isSmartRef__":true,"id":251},{"__isSmartRef__":true,"id":257},{"__isSmartRef__":true,"id":271},{"__isSmartRef__":true,"id":278}]},"233":{"submorphs":[],"scripts":[],"id":172,"shape":{"__isSmartRef__":true,"id":234},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":476,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":235},"textChunks":[{"__isSmartRef__":true,"id":236}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[9,20],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":238},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":476,"_MinTextHeight":null,"previousSelection":[17,17],"_WhiteSpaceHandling":"pre-wrap","isBeingDragged":false,"owner":null,"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","_Rotation":0,"_Scale":0.9900448802097485,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(318.4,-7.8)"},"234":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(476.0,42.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"235":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"236":{"style":{"__isSmartRef__":true,"id":237},"morph":{"__isSmartRef__":true,"id":233},"chunkOwner":{"__isSmartRef__":true,"id":233},"storedString":"Morphic: Connections","_id":"_13189","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"237":{"fontSize":27,"fontWeight":"bold","italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(244,173,0)"},"238":{"morph":{"__isSmartRef__":true,"id":233},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"239":{"submorphs":[],"scripts":[],"id":1316,"shape":{"__isSmartRef__":true,"id":240},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":598,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text5","partsBinMetaInfo":{"__isSmartRef__":true,"id":241},"textChunks":[{"__isSmartRef__":true,"id":242}],"charsReplaced":"want","lastFindLoc":18,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":244},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"_MinTextWidth":598,"_MinTextHeight":null,"_Rotation":0,"_Scale":0.996005996001,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[75,75],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","priorSelectionRange":[155,155],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(26.5,56.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(397.6,-11.2)"},"240":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(598.0,110.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"241":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"242":{"style":{"__isSmartRef__":true,"id":243},"chunkOwner":{"__isSmartRef__":true,"id":239},"storedString":"Sometimes you need to change a value that is passed through a connection.  Say, you want to build a Fahrenheit to Celsius converter using two text morphs.  They should be connected so the right text always displays the value in the left morph with the conversion formula applied to it:","_id":"_13190","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"243":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"244":{"morph":{"__isSmartRef__":true,"id":239},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"245":{"submorphs":[],"scripts":[],"id":3488,"shape":{"__isSmartRef__":true,"id":246},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":121,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":247},"textChunks":[{"__isSmartRef__":true,"id":248}],"charsReplaced":"some text ","lastFindLoc":10,"priorSelectionRange":[12,13],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":250},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":121,"_MinTextHeight":null,"previousSelection":[0,10],"owner":null,"doitContext":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":0.9920279440699439,"_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(27.7,197.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(88.3,-2.8)"},"246":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(121.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"247":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"248":{"style":{"__isSmartRef__":true,"id":249},"chunkOwner":{"__isSmartRef__":true,"id":245},"storedString":"Fahrenheit (F)","_id":"_13191","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"249":{"fontSize":10,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"250":{"morph":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"251":{"submorphs":[],"scripts":[],"id":3538,"shape":{"__isSmartRef__":true,"id":252},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text6","partsBinMetaInfo":{"__isSmartRef__":true,"id":253},"textChunks":[{"__isSmartRef__":true,"id":254}],"charsReplaced":"Celsius","lastFindLoc":8,"priorSelectionRange":[11,11],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":256},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":77,"_MinTextHeight":null,"previousSelection":[10,10],"owner":null,"doitContext":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":0.9920279440699439,"_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(354.4,196.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(64.6,-8.8)"},"252":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(77.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"253":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"254":{"style":{"__isSmartRef__":true,"id":255},"chunkOwner":{"__isSmartRef__":true,"id":251},"storedString":"Celsius (C)","_id":"_13192","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"255":{"fontSize":10,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"256":{"morph":{"__isSmartRef__":true,"id":251},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"257":{"submorphs":[],"scripts":[],"id":3707,"shape":{"__isSmartRef__":true,"id":258},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":594,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text7","partsBinMetaInfo":{"__isSmartRef__":true,"id":259},"textChunks":[{"__isSmartRef__":true,"id":260},{"__isSmartRef__":true,"id":262},{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":266},{"__isSmartRef__":true,"id":268}],"charsReplaced":"right","lastFindLoc":156,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":270},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","owner":null,"_MinTextWidth":594,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[154,154],"_Rotation":0,"_Scale":0.9920279440699439,"_ClipMode":"visible","isBeingDragged":false,"priorSelectionRange":[198,198],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(27.7,223.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"258":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(594.0,243.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"259":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"260":{"style":{"__isSmartRef__":true,"id":261},"morph":{"__isSmartRef__":true,"id":257},"chunkOwner":{"__isSmartRef__":true,"id":257},"storedString":"You can graphically connect the contents of the left yellow text to the right one.  Select 'textString' on both morphs.\nTo enter a converter function, ","_id":"_13193","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"261":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"262":{"style":{"__isSmartRef__":true,"id":263},"chunkOwner":{"__isSmartRef__":true,"id":257},"storedString":"Cmd-click on the first text to invoke its halo.  Click on the M-halo and select the \"connections\" menu entry and choose ","_id":"_13194","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"263":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"264":{"style":{"__isSmartRef__":true,"id":265},"chunkOwner":{"__isSmartRef__":true,"id":257},"storedString":"'edit converter'.  In the editor window, change the text between { and } to \n\n","_id":"_13195","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"265":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"266":{"style":{"__isSmartRef__":true,"id":267},"chunkOwner":{"__isSmartRef__":true,"id":257},"storedString":"return (value - 32) * 5/9;","_id":"_13196","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"267":{"fontFamily":"Courier New","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"268":{"style":{"__isSmartRef__":true,"id":269},"chunkOwner":{"__isSmartRef__":true,"id":257},"storedString":"\n\nWhile the mouse pointer is still in the editor window, press Cmd-s or Ctrl-s. Close the window and enter a value into the F field. Voila!","_id":"_13197","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"269":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"270":{"morph":{"__isSmartRef__":true,"id":257},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"271":{"submorphs":[],"scripts":[],"id":2299,"shape":{"__isSmartRef__":true,"id":272},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":240.632,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Celsius","partsBinMetaInfo":{"__isSmartRef__":true,"id":273},"textChunks":[{"__isSmartRef__":true,"id":274}],"charsReplaced":"-17.77777777777778","lastFindLoc":18,"priorSelectionRange":[0,18],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":276},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":240.632,"_MinTextHeight":null,"previousSelection":[1,18],"layout":{"__isSmartRef__":true,"id":277},"owner":null,"_Rotation":0,"_Scale":0.9880657804942085,"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(350.1,177.5)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"272":{"fill":null,"_BorderWidth":1.1840000000000002,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(258.0,24.4)","_BorderColor":"Color.rgb(255,143,0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(251,255,91)"},"273":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"274":{"style":{"__isSmartRef__":true,"id":275},"chunkOwner":{"__isSmartRef__":true,"id":271},"storedString":"0","_id":"_13198","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"275":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"276":{"morph":{"__isSmartRef__":true,"id":271},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"277":{},"278":{"submorphs":[],"scripts":[],"id":2142,"shape":{"__isSmartRef__":true,"id":279},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":240.632,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Fahrenheit","partsBinMetaInfo":{"__isSmartRef__":true,"id":280},"textChunks":[{"__isSmartRef__":true,"id":281}],"charsReplaced":"0","lastFindLoc":1,"priorSelectionRange":[0,1],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":283},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","owner":null,"_MinTextWidth":240.632,"_MinTextHeight":null,"previousSelection":[0,1],"layout":{"__isSmartRef__":true,"id":284},"_Rotation":0,"_Scale":0.9880657804942085,"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(22.7,178.5)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"279":{"fill":null,"_BorderWidth":1.1840000000000002,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding","_Fill"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(258.0,24.4)","_BorderColor":"Color.rgb(255,143,0)","_Padding":"lively.rect(0,0,0,0)","_Fill":"Color.rgb(251,255,91)"},"280":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"281":{"style":{"__isSmartRef__":true,"id":282},"chunkOwner":{"__isSmartRef__":true,"id":278},"storedString":"0","_id":"_13199","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"282":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"283":{"morph":{"__isSmartRef__":true,"id":278},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"284":{},"285":{"pageNumber":"4","morphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":233},{"__isSmartRef__":true,"id":286},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":327},{"__isSmartRef__":true,"id":336}]},"286":{"submorphs":[],"scripts":[],"id":441,"shape":{"__isSmartRef__":true,"id":287},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":608,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":288},"textChunks":[{"__isSmartRef__":true,"id":289}],"charsReplaced":"","lastFindLoc":93,"priorSelectionRange":[152,0],"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":291},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","owner":null,"_MinTextWidth":608,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"previousSelection":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":0.990044880209748,"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(19.8,51.4)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"287":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(608.0,88.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"288":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"289":{"style":{"__isSmartRef__":true,"id":290},"morph":{"__isSmartRef__":true,"id":286},"chunkOwner":{"__isSmartRef__":true,"id":286},"storedString":"When connecting morphs programmatically, you can specify the converter function right away.\n\nWe want to build a rotating star and we want it to be fast.","_id":"_13200","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"290":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"291":{"morph":{"__isSmartRef__":true,"id":286},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"292":{"submorphs":[],"scripts":[],"id":673,"shape":{"__isSmartRef__":true,"id":293},"droppingEnabled":true,"halosEnabled":true,"eventHandler":{"__isSmartRef__":true,"id":305},"showsHalos":false,"name":"Star","partsBinMetaInfo":{"__isSmartRef__":true,"id":306},"controlPoints":[{"__isSmartRef__":true,"id":307},{"__isSmartRef__":true,"id":308},{"__isSmartRef__":true,"id":309},{"__isSmartRef__":true,"id":310},{"__isSmartRef__":true,"id":311},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":313},{"__isSmartRef__":true,"id":314},{"__isSmartRef__":true,"id":315},{"__isSmartRef__":true,"id":316},{"__isSmartRef__":true,"id":317}],"layout":{"__isSmartRef__":true,"id":318},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":null,"isBeingDragged":false,"_Rotation":0,"_Scale":0.42072990002959104,"_ClipMode":"visible","__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":319},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","_Position":"lively.pt(548.4,215.4)"},"293":{"dontChangeShape":false,"__serializedExpressions__":["cachedVertices.0","cachedVertices.1","cachedVertices.2","cachedVertices.3","cachedVertices.4","cachedVertices.5","cachedVertices.6","cachedVertices.7","cachedVertices.8","cachedVertices.9","cachedVertices.10","_Position","_Extent","_BorderColor","_Fill","_Padding"],"cachedVertices":["lively.pt(39.0,0.0)","lively.pt(80.9,58.8)","lively.pt(12.1,37.1)","lively.pt(-30.9,95.1)","lively.pt(-31.6,22.9)","lively.pt(-100.0,0.0)","lively.pt(-31.6,-22.9)","lively.pt(-30.9,-95.1)","lively.pt(12.1,-37.1)","lively.pt(80.9,-58.8)","lively.pt(39.0,0.0)"],"_PathElements":[{"__isSmartRef__":true,"id":294},{"__isSmartRef__":true,"id":295},{"__isSmartRef__":true,"id":296},{"__isSmartRef__":true,"id":297},{"__isSmartRef__":true,"id":298},{"__isSmartRef__":true,"id":299},{"__isSmartRef__":true,"id":300},{"__isSmartRef__":true,"id":301},{"__isSmartRef__":true,"id":302},{"__isSmartRef__":true,"id":303},{"__isSmartRef__":true,"id":304}],"_BorderWidth":0.444,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes","_Position":"lively.pt(-101.0,-96.1)","_Extent":"lively.pt(181.9,191.2)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(204,204,0)","_Padding":"lively.rect(0,0,0,0)"},"294":{"isAbsolute":true,"x":39,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"295":{"isAbsolute":true,"x":80.90169943749474,"y":58.778525229247315,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"296":{"isAbsolute":true,"x":12.051662780622951,"y":37.091204135510985,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"297":{"isAbsolute":true,"x":-30.901699437494734,"y":95.10565162951536,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"298":{"isAbsolute":true,"x":-31.551662780622944,"y":22.923624839406457,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"299":{"isAbsolute":true,"x":-100,"y":1.2246063538223773e-14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"300":{"isAbsolute":true,"x":-31.551662780622955,"y":-22.923624839406447,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"301":{"isAbsolute":true,"x":-30.901699437494756,"y":-95.10565162951535,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"302":{"isAbsolute":true,"x":12.051662780622943,"y":-37.09120413551099,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"303":{"isAbsolute":true,"x":80.90169943749473,"y":-58.778525229247336,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"304":{"isAbsolute":true,"x":39,"y":-9.551929559814543e-15,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"305":{"morph":{"__isSmartRef__":true,"id":292},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"306":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Basic/","partName":"Star","comment":"A star formed polygon. Not just some star, its the Lively Star! ","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"307":{"morph":{"__isSmartRef__":true,"id":292},"index":0,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"308":{"morph":{"__isSmartRef__":true,"id":292},"index":1,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"309":{"morph":{"__isSmartRef__":true,"id":292},"index":2,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"310":{"morph":{"__isSmartRef__":true,"id":292},"index":3,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"311":{"morph":{"__isSmartRef__":true,"id":292},"index":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"312":{"morph":{"__isSmartRef__":true,"id":292},"index":5,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"313":{"morph":{"__isSmartRef__":true,"id":292},"index":6,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"314":{"morph":{"__isSmartRef__":true,"id":292},"index":7,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"315":{"morph":{"__isSmartRef__":true,"id":292},"index":8,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"316":{"morph":{"__isSmartRef__":true,"id":292},"index":9,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"317":{"morph":{"__isSmartRef__":true,"id":292},"index":10,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"318":{},"319":{"getHaloClasses":{"__isSmartRef__":true,"id":320}},"320":{"varMapping":{"__isSmartRef__":true,"id":321},"source":"function getHaloClasses() {\n    return $super()\n        .reject(function(ea) { return ea === lively.morphic.ResizeHalo })\n        .concat([lively.morphic.RescaleHalo])\n}","funcProperties":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"321":{"this":{"__isSmartRef__":true,"id":292},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":322}},"322":{"$super":{"__isSmartRef__":true,"id":323}},"323":{"varMapping":{"__isSmartRef__":true,"id":324},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"324":{"obj":{"__isSmartRef__":true,"id":292},"name":"getHaloClasses"},"325":{},"326":{},"327":{"submorphs":[{"__isSmartRef__":true,"id":328}],"scripts":[],"id":832,"shape":{"__isSmartRef__":true,"id":331},"droppingEnabled":true,"halosEnabled":true,"attributeConnections":[{"__isSmartRef__":true,"id":332}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"sliderExtent":0.1,"valueScale":1,"sliderKnob":{"__isSmartRef__":true,"id":328},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"Slider","partsBinMetaInfo":{"__isSmartRef__":true,"id":333},"eventHandler":{"__isSmartRef__":true,"id":334},"layout":{"__isSmartRef__":true,"id":335},"owner":null,"value":0.1854,"_Rotation":0,"_Scale":0.990044880209748,"_ClipMode":"visible","__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Slider","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(48.4,186.7)"},"328":{"submorphs":[],"scripts":[],"id":833,"shape":{"__isSmartRef__":true,"id":329},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"slider":{"__isSmartRef__":true,"id":327},"owner":{"__isSmartRef__":true,"id":327},"styleClass":["slider_horizontal"],"eventHandler":{"__isSmartRef__":true,"id":330},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isBeingDragged":false,"_ClipMode":"visible","__serializedExpressions__":["_Position","hitPoint"],"__LivelyClassName__":"lively.morphic.SliderKnob","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(25.0,0.0)","hitPoint":"lively.pt(301.0,446.0)"},"329":{"_BorderWidth":1,"_BorderRadius":6,"_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(15.0,30.0)","_BorderColor":"Color.rgb(102,102,102)","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(196,211,221),\n    offset: 0\n  },{\n    color: Color.rgb(137,167,187),\n    offset: 0.5\n  },{\n    color: Color.rgb(96,130,153),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Padding":"lively.rect(0,0,0,0)"},"330":{"morph":{"__isSmartRef__":true,"id":328},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"331":{"_BorderWidth":1,"_BorderRadius":6,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(150.0,30.0)","_BorderColor":"Color.rgb(192,192,192)","_Fill":"lively.morphic.Gradient.create({\n  stops: [{\n    color: Color.rgb(204,204,204),\n    offset: 0\n  },{\n    color: Color.rgb(240,240,240),\n    offset: 0.4\n  },{\n    color: Color.rgb(245,245,245),\n    offset: 1\n  }],\n  type: \"linear\",\n  vector: lively.rect(0,0,0,1)\n})","_Padding":"lively.rect(0,0,0,0)"},"332":{"sourceObj":{"__isSmartRef__":true,"id":327},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":327},"targetMethodName":"adjustSliderParts","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"333":{"requiredModules":[],"partsSpaceName":"PartsBin/Inputs","migrationLevel":2,"partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"334":{"morph":{"__isSmartRef__":true,"id":327},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"335":{},"336":{"submorphs":[],"scripts":[],"id":1018,"shape":{"__isSmartRef__":true,"id":337},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":597,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":338},"textChunks":[{"__isSmartRef__":true,"id":339},{"__isSmartRef__":true,"id":341},{"__isSmartRef__":true,"id":343}],"charsReplaced":"","lastFindLoc":185,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":345},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_WhiteSpaceHandling":"pre-wrap","owner":null,"_MinTextWidth":597,"_MinTextHeight":null,"doitContext":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","_Rotation":0,"_Scale":0.990044880209748,"previousSelection":[183,56],"priorSelectionRange":[304,304],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(24.7,263.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"337":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(597.0,176.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"338":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"339":{"style":{"__isSmartRef__":true,"id":340},"morph":{"__isSmartRef__":true,"id":336},"chunkOwner":{"__isSmartRef__":true,"id":336},"storedString":"Highlight the following lines and hit Cmd-d or Ctrl-d:\n\n","_id":"_13201","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"340":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"341":{"style":{"__isSmartRef__":true,"id":342},"chunkOwner":{"__isSmartRef__":true,"id":336},"storedString":"connect(this.get('Slider'), 'value',\n        this.get('Star'), 'setRotation',\n        {converter: function(x) {return x*50;}});","_id":"_13202","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"342":{"fontSize":10,"fontFamily":"Courier New","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"343":{"style":{"__isSmartRef__":true,"id":344},"chunkOwner":{"__isSmartRef__":true,"id":336},"storedString":"\n\nIn a connect call, the fifth argument can be an object containing the converter function in a slot called 'converter'.  That's all the magic.","_id":"_13203","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"344":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"345":{"morph":{"__isSmartRef__":true,"id":336},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"346":{"pageNumber":"5","morphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":347}]},"347":{"submorphs":[],"scripts":[],"id":"6E96F720-B2A4-49B4-BE18-EA060644AF7F","shape":{"__isSmartRef__":true,"id":348},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":349},"textChunks":[{"__isSmartRef__":true,"id":357}],"charsReplaced":"Some Text","lastFindLoc":18,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":359},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[0,0],"isBeingDragged":false,"moved":true,"owner":null,"_Rotation":0,"_Scale":0.9803921568627452,"doitContext":{"__isSmartRef__":true,"id":0},"priorSelectionRange":[4,4],"__serializedExpressions__":["_Position","textColor","_Padding"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(61.8,49.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)"},"348":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(201.1,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"349":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":350},{"__isSmartRef__":true,"id":351},{"__isSmartRef__":true,"id":352},{"__isSmartRef__":true,"id":353},{"__isSmartRef__":true,"id":354},{"__isSmartRef__":true,"id":355},{"__isSmartRef__":true,"id":356}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:08 GMT-0700 (PDT)\")"},"350":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"351":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"352":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"353":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"354":{"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)).  This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"355":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"356":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"357":{"style":{"__isSmartRef__":true,"id":358},"morph":{"__isSmartRef__":true,"id":347},"chunkOwner":{"__isSmartRef__":true,"id":347},"storedString":"== The End ==","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"358":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"359":{"morph":{"__isSmartRef__":true,"id":347},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"360":{"start":{"__isSmartRef__":true,"id":361},"showPage":{"__isSmartRef__":true,"id":364},"getPage":{"__isSmartRef__":true,"id":367},"clearPage":{"__isSmartRef__":true,"id":370},"nextPage":{"__isSmartRef__":true,"id":373},"sortPages":{"__isSmartRef__":true,"id":376},"savePageAs":{"__isSmartRef__":true,"id":379},"showPageByNumber":{"__isSmartRef__":true,"id":382},"previousPage":{"__isSmartRef__":true,"id":385},"addMorph":{"__isSmartRef__":true,"id":388},"savePageAtTheEnd":{"__isSmartRef__":true,"id":395}},"361":{"varMapping":{"__isSmartRef__":true,"id":362},"source":"function start() {\n    this.sortPages();\n    if (this.pages[0]) this.showPage(this.pages[0]);\n}","funcProperties":{"__isSmartRef__":true,"id":363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"362":{"this":{"__isSmartRef__":true,"id":0}},"363":{},"364":{"varMapping":{"__isSmartRef__":true,"id":365},"source":"function showPage(page) {\n    this.clearPage();\n    this.currentPage = page;\n    var that = this;\n    page.morphs.forEach(function(ea) {\n        that.addMorph(ea);});\n        \n}","funcProperties":{"__isSmartRef__":true,"id":366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"365":{"this":{"__isSmartRef__":true,"id":0}},"366":{},"367":{"varMapping":{"__isSmartRef__":true,"id":368},"source":"function getPage(pageNumber) {\n    var page = null;\n    this.pages.forEach(function(ea) {\n        if (ea.pageNumber == pageNumber) {\n            page = ea;\n        }});\n    return page;\n}","funcProperties":{"__isSmartRef__":true,"id":369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"368":{"this":{"__isSmartRef__":true,"id":0}},"369":{},"370":{"varMapping":{"__isSmartRef__":true,"id":371},"source":"function clearPage() {\n    this.submorphs.forEach(function(ea) {if (!ea.staysOnPage) { ea.remove();}});\n}","funcProperties":{"__isSmartRef__":true,"id":372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"371":{"this":{"__isSmartRef__":true,"id":0}},"372":{},"373":{"varMapping":{"__isSmartRef__":true,"id":374},"source":"function nextPage() {\n    this.sortPages();\n    var nextIndex = (this.pages.indexOf(this.currentPage) + 1) % this.pages.length;\n    this.showPage(this.pages[nextIndex]);\n}","funcProperties":{"__isSmartRef__":true,"id":375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"374":{"this":{"__isSmartRef__":true,"id":0}},"375":{},"376":{"varMapping":{"__isSmartRef__":true,"id":377},"source":"function sortPages() {\n    this.pages.sortBy(function(ea) { return ea.pageNumber; });\n}","funcProperties":{"__isSmartRef__":true,"id":378},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"377":{"this":{"__isSmartRef__":true,"id":0}},"378":{},"379":{"varMapping":{"__isSmartRef__":true,"id":380},"source":"function savePageAs(pageNumber) {\n    var page = this.getPage(pageNumber);\n    if (page === null) {\n        this.pages.push({ \n            pageNumber: pageNumber,\n            morphs: this.submorphs\n        });\n    } else {\n        page.morphs = this.submorphs;\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":381},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"380":{"this":{"__isSmartRef__":true,"id":0}},"381":{},"382":{"varMapping":{"__isSmartRef__":true,"id":383},"source":"function showPageByNumber(pageNumber) {\n    this.showPage(this.getPage(pageNumber));\n}","funcProperties":{"__isSmartRef__":true,"id":384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"383":{"this":{"__isSmartRef__":true,"id":0}},"384":{},"385":{"varMapping":{"__isSmartRef__":true,"id":386},"source":"function previousPage() {\n    this.sortPages();\n    var nextIndex = (this.pages.indexOf(this.currentPage) - 1);\n    if (nextIndex < 0) nextIndex = this.pages.length - 1;    \n    this.showPage(this.pages[nextIndex]);\n}","funcProperties":{"__isSmartRef__":true,"id":387},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"386":{"this":{"__isSmartRef__":true,"id":0}},"387":{},"388":{"varMapping":{"__isSmartRef__":true,"id":389},"source":"function addMorph(morph, optMorphBefore) {\n    if (morph.isText) morph.doitContext = this;\n    return $super(morph, optMorphBefore);\n}","funcProperties":{"__isSmartRef__":true,"id":394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"389":{"this":{"__isSmartRef__":true,"id":0},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":390}},"390":{"$super":{"__isSmartRef__":true,"id":391}},"391":{"varMapping":{"__isSmartRef__":true,"id":392},"source":"function () {\n                try {\n                    return obj.constructor.prototype[name].apply(obj, arguments)\n                } catch(e) {\n                    alert('Error in $super call: ' + e + '\\n' + e.stack);\n                    return null;\n                }\n            }","funcProperties":{"__isSmartRef__":true,"id":393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"392":{"obj":{"__isSmartRef__":true,"id":0},"name":"addMorph"},"393":{},"394":{},"395":{"varMapping":{"__isSmartRef__":true,"id":396},"source":"function savePageAtTheEnd() {\n    this.savePageAs(this.pages.length);\n}","funcProperties":{"__isSmartRef__":true,"id":397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"396":{"this":{"__isSmartRef__":true,"id":0}},"397":{},"isSimplifiedRegistry":true}}