<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Folks,<br></div><div><br></div><div>TL;DR;<br></div><div><br></div><div>How do I get a RSBalloonMorph to open up inside the extents of The World?  If we fix this, then the majority of Roassal3 examples are working examples.<br></div><div><br></div><div><br></div><div><br></div><div>For Roassal3<br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: justify; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><div>MCHttpRepository<br></div><div>    location: '<a href="http://www.squeaksource.com/Roassal3" target="_blank">http://www.squeaksource.com/Roassal3</a>'<br></div><div>    user: ''<br></div><div>    password: ''<br></div></pre><div><br></div></div></blockquote><div> I have a class named RSExampleDoits  which has class side methods that allow easy access to the various examples a healthy majority of which are "semi-working".<br></div><div>For example:<br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>rsBasicAnimationExamples<br></div><div><br></div><div>"working"<br></div><div><br></div><div>"semi working"<br></div><div>"the viewport for these is off-World on open."<br></div><div>RSBasicAnimationExamples new  example01Basic  open.<br></div><div>RSBasicAnimationExamples new example02Sequential   open.<br></div><div>RSBasicAnimationExamples new  example03Ramp  open.<br></div><div>RSBasicAnimationExamples new  example05LoopEvent  open.<br></div><div>RSBasicAnimationExamples new   example06Parallel open.<br></div><div><br></div><div><br></div><div>"not working"<br></div><div>RSBasicAnimationExamples new  example04DashAnimation  open.<br></div><div>RSBasicAnimationExamples new example07CornerRadius   open.<br></div></div></blockquote><div>The basic problem is that the example shows up mostly off-screen in the World off to the right and must be pulled in by the mouse to see it.<br></div><div><br></div><div>the 'open' and 'createMorph' send are to RSCanvas<br></div><div><br></div><blockquote style="border: 1px solid rgb(204, 204, 204); padding: 7px; background-color: rgb(245, 245, 245);"><div><div>ProtoObject #()<br></div><div>      Object #()<br></div><div>            RSObject #()<br></div><div>                  RSObjectWithProperty #('announcer' 'properties')<br></div><div>                        RSCanvas #('shapes' 'fixedShapes' 'camera' 'animations' 'extent' 'color' 'morph' 'clearBackground' 'showRectangles' 'nodes' 'edges')<br></div><div>open<br></div><div>| window |<br></div><div>self createMorph.<br></div><div>window := morph openInWindow.<br></div><div>window extent: 500@500.<br></div><div>morph privateOwner: window.<br></div><div>^ window<br></div><div><br></div><div>createMorph<br></div></div><div>"Create a Morph that contains myself."<br></div><div>Smalltalk at: #AthensCanvas<br></div><div>ifPresent: [morph := RSAthensMorph new renderer: RSAthensRenderer new; yourself]<br></div><div>ifAbsent: [morph := RSBalloonMorph new renderer: RSBalloonRenderer new; yourself].     <<---THIS IS CALLED.<br></div><div><br></div><div>morph canvas: self.<br></div><div><div>^ morph<br></div></div><br><br><br><br><br><br><br></blockquote><div>your insights are much appreciated.</div></div><br></body></html>