title: GetScreenRect_PosMode() and GetScreenRect_SizeMode() returns -2
body: <p>I'm trying to figure out how to do PiP. I followed this guide:</p>
  
  <p><a href="http://samsungdforum.com/Guide/tec00103/index.html" rel="nofollow">http://samsungdforum.com/Guide/tec00103/index.html</a></p>
  
  <p>This line:</p>
  
  <pre><code>alert('POSMODE : ' + pluginWindow.GetScreenRect_PosMode() + ', SIZEMODE : ' + pluginWindow.GetScreenRect_SizeMode());
  </code></pre>
  
  <p>returns -2 for both, PosMode and SizeMode. It's a negative value, so something went apparently wrong, but I can't figure out what. What does it mean? There is nothing showing on the screen either.</p>
  
  <p>Can somebody help me out with this or point out tutorials for making PiP app?</p>
  
  <p>Thank you in advance.</p>