Forum Discussion

slingxshot's avatar
slingxshot
Streaming Star
9 years ago

Using Vector2DFieldInterpolator and scale question

Hello I would to enlarge an image by pulling from the bottom 2 corners of it... down... basically I am trying to make a small image scale to full screen tv size 1920x1080 ...

Right now the image is top center of the screen, right now what I am doing is modifying translation field then scaling it. Is there a better way to do this?

Does anyway have any idea how to achieve this?

Thank You

2 Replies

  • Just put it where you want it, and make it as big as you want, e.g:

    <Poster
     id="bigPoster"
     uri="http://blah.blah.com/blah"
     width="1920"
     height="1080"
     loadSync="true"
     translation="[0,0]" />
  • instead of manually adjusting the translation yourself, just set scaleRotateCenter to whatever point you want it to scale from.