old_contents: # This code is so you can run the samples without installing the package
  import sys
  import os
  sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
  #
  
  
  import cocos
  from cocos.director import director
  from cocos.actions import *
  from cocos.layer import *
  import pyglet
  
  class BackgroundLayer( cocos.layer.Layer ):
      def __init__(self):
          super( BackgroundLayer, self ).__init__()
          self.img = pyglet.resource.image('background_image.png')
  
      def draw( self ):
          self.img.blit(0,0)
  
  if __name__ == "__main__":
      director.init( resizable=True )
      main_scene = cocos.scene.Scene()
  
      main_scene.add( BackgroundLayer(), z=0 )
  
      flip = FlipX3D( duration=2)
      main_scene.do( flip + ReverseTime(flip) )
      director.run (main_scene)
  
new_contents: # This code is so you can run the samples without installing the package
  import sys
  import os
  sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
  #
  
  
  import cocos
  from cocos.director import director
  from cocos.actions import *
  from cocos.layer import *
  import pyglet
  
  class BackgroundLayer( cocos.layer.Layer ):
      def __init__(self):
          super( BackgroundLayer, self ).__init__()
          self.img = pyglet.resource.image('background_image.png')
  
      def draw( self ):
          self.img.blit(0,0)
  
  if __name__ == "__main__":
      director.init( resizable=True )
      main_scene = cocos.scene.Scene()
  
      main_scene.add( BackgroundLayer(), z=0 )
  
      flip = FlipX3D( duration=2)
      main_scene.do( flip + Reverse(flip) )
      director.run (main_scene)
  
subject: fix test_reverse_time bad action name(issue 125)