3 Replies Latest reply on Feb 15, 2007 3:47 AM by Newsgroup_User

    Capture screen to image, but shockwave3d!

    walfridson
      Ok got problem capturing the screen to member. I guess the problem is the 3d is overlay, right? As you see in the code below I've tried switching to software renderer before the capture but that doesent work either. Other stuff works fine, but not the 3d window.

      Free solutions welcome :)

      Cheers friends.

      quote:


      on mouseUp me


      _movie.preferred3dRenderer = #software

      printMember = new(#bitmap, member(14))
      printMember.image = image(624, 372, 32)

      img = _movie.stage.image
      destRect = rect(0, 0, 624, 372)
      srcRect = rect(464,265,784,479)
      printMember.image.copyPixels(img, destRect, srcRect)
      _movie.go(2)
      img = _movie.stage.image
      _movie.go(1)
      destRect = rect(0, 0, 624, 372)
      srcRect = rect(464,265,784,479)
      printMember.image.copyPixels(img, destRect, srcRect)
      -- ScreenToFile(464, 265, 784, 479, string("test"))
      _movie.preferred3dRenderer = #auto

      end