Jump to content
Search Community

klocascio

Members
  • Posts

    2
  • Joined

  • Last visited

klocascio's Achievements

0

Reputation

  1. My classes weren't up to date. Everything's working great now. Should have checked that first. Thanks.
  2. I am trying to use liquidStage and Loader max to load a fullscreen video as a background, proportionally outside. When I load this into a browser, it doesnt resize to the browser until I resize the browser manually. Am I missing something that should initialize it to load fullscreen at first? This is my initial code: import com.greensock.loading.*; import com.greensock.loading.display.*; import com.greensock.*; import com.greensock.events.LoaderEvent; import com.greensock.layout.*; stage.align = StageAlign.TOP_LEFT; var video:VideoLoader = new VideoLoader("assets/video.mp4", {name:"myVideo", container:container, width:800, height:450, hAlign:'left', vAlign:'top', centerRegistration:false, scaleMode:"proportionalOutside", autoPlay:true, volume:1, requireWithRoot:this.root}); video.load(); var ls:LiquidStage = new LiquidStage(this.stage, 800, 450, 800, 450); var area:LiquidArea = new LiquidArea(this, 0,0,800,450); area.attach(container, ScaleMode.PROPORTIONAL_OUTSIDE); Thanks.
×
×
  • Create New...