Jump to content
Search Community

ScaleMode.STRETCH will not return to proportional

Sam test
Moderator Tag

Recommended Posts

Hi greensock,

 

I have a project wherein I am loading videos and allowing the user to adjust the scale mode similar to the way the autofitarea example works. I believe that I have discovered a bug in your FlexContentDisplay class (and possibly ContentDisplay). When setting the ScaleMode on the object to STRETCH it will not return to either proportional mode unless you set it to NONE first. I have attached a brief project that demonstrates the bug.

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

 

i'm using the latest version of GreenSock as3 (11/11/11) and VideoLoader class :

ScaleMode don't work. Videos are always "STRETCH".

 

For example :

 

var videoloader:VideoLoader = new VideoLoader( "video.mp4",
										  { 
										  container:this,
										  width:300,
										  height:500,
										  scaleMode:"proportionalInside",
										  name:"video",
										  bgColor:0xff0000,
										  bgAlpha:1
										  } );

 

I tried with mp4, flv, f4v. Same results.

 

Thanks for help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...