//    Instruction Example :     objectid sprite.create (long)


        screen.resolution.set (512,384)

        text.font.select ("arial")
        text.char.height.select (64)

        screen.set (BACK)
          pattern.display ("avo\bubble.gif")
        screen.end ()

        @spr=sprite.create (5)
        @frame_buffer=icon.create (64,64)
        screen.set (@frame_buffer)
          for (%i=9 to 0 step -1)
            text.display (str(%i),CENTER,CENTER)
            sprite.frame.add (@spr,@frame_buffer )
          next ()
        screen.end ()

        sprite.display (@spr,CENTER,CENTER)

        text.char.height.select (11)
        text.display ("Press a key to exit.",CENTER,350)

        keyboard.wait ()

        script.stop ()