[etoys-notify] [JIRA] Created: (SQ-1080) Scripts set to fire on Custom Events, no longer fire when you switch book pages

Stephen Thomas (JIRA) tracker at squeakland.org
Sun Apr 8 02:51:59 EDT 2012


Scripts set to fire on Custom Events, no longer fire when you switch book pages
-------------------------------------------------------------------------------

                 Key: SQ-1080
                 URL: http://tracker.squeakland.org/browse/SQ-1080
             Project: squeakland
          Issue Type: Bug
          Components: etoys
            Reporter: Stephen Thomas
         Attachments: DanceScratchDance.sb, Scatch Controls.010.pr

When broadcasting messages to Scratch a new custom event is created for each unique message.
When you setup a script to run in Etoys when the custom event is triggered, it works, until you change pages.

So say on Page 1, you have a script to first on Custom Event "Pose0"  It will fire right after you set the script to run on the custom event.  But if you then change to Page 2 and go back to Page 1, the script will no longer fire on that custom Event. To correct this, you have to re-select the custom event to get the script fire.

See attached projects for an example:
1) Open DanceScratchDance.sb
2) Select "Sensing" category for scripting tiles.
3) Right click on Sensing tile "<slider> sensor value" and select "enable remote sensor connections"
4) Open "Scratch Controls.010.pr
5) Double Click on the Cat (Eyes should open to indicate connection, and Dancer in Scratch should start dancing)
6) Dancer in Etoys is currently NOT dancing
7) Re-select the Custom Events for each of the Picture 12's four scripts (Dancer in Etoys will start dancing)
8) Switch to another page
9) Go Back to Page 4 (Etoys Dancer has stopped dancing)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list