[Etoys-notify] #6969 NORM Opportu: Textual Player Refs in Imported Morphs

Zarro Boogs per Child bugtracker at laptop.org
Wed May 14 13:24:41 EDT 2008


#6969: Textual Player Refs in Imported Morphs
-----------------------------+----------------------------------------------
  Reporter:  dmoco           |       Owner:  etoys      
      Type:  defect          |      Status:  new        
  Priority:  normal          |   Milestone:  Opportunity
 Component:  etoys-activity  |     Version:             
Resolution:                  |    Keywords:             
  Verified:  0               |    Blocking:             
 Blockedby:                  |  
-----------------------------+----------------------------------------------

Comment(by ScottWallace):

 Replying to [comment:14 dmoco]:
 > > When you 'Discover from quick World based script that name is
 Rectangle2', exactly what did you do? I presume you wrote a tile script
 that referenced the new object, then looked at it textually to pick off
 the internal name?   If you actually saw #Rectangle2 as the internal name
 used, in a demonstrably working script that referenced the object, it
 would be very surprising if Rectangle2 were not in the referencesPool...
 >
 > Yes, that is what I did and the World script worked (simply moved the
 morph). So having proved that the morph can actually be
 referenced/scripted and having substituted the *known* valid reference
 into the swapColour script, if that script is still not being accepted
 because of that reference then the problem lies elsewhere/deeper, agree?

 Yes, agreed, and though this scenario (porting a scripted morph from 3.9
 to olpc via a .morph file, then manually editing the textual script) is
 unlikely to arise for anyone else, it would still be interesting to
 understand what's going on... so if you're game for continuing to pursue
 this, I am as well.  Could you perhaps privately email me the .morph file?
 Thanks...  sw

-- 
Ticket URL: <http://dev.laptop.org/ticket/6969#comment:18>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Etoys-notify mailing list