+ elif event.key == pygame.K_PAGEUP:
+ file_idx -= 1
+ newfile = True
+ elif event.key == pygame.K_PAGEDOWN:
+ file_idx += 1
+ newfile = True
+ elif event.key == pygame.K_RETURN:
+ newfile = True
+ elif event.key == pygame.K_s:
+ actions = [act([], 0.5) for act in doc.top]
+ source = bulletml.Bullet(
+ x=150, y=150, target=target,
+ actions=actions, rank=0.5)
+ source.vanished = True
+ active.add(source)