Share Posted November 15, 2011 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 More sharing options...
Share Posted November 16, 2011 Great catch, and thanks for putting a sample together. Very helpful. I believe the issue is resolved in the attached version - would you mind giving it a go before I post it in the public downloads? Thanks again for the assist. Link to comment Share on other sites More sharing options...
Author Share Posted November 16, 2011 Looks good, although my test is fairly cursory. I can confirm that it is happy with images and videos. Thanks for the fix. Link to comment Share on other sites More sharing options...
Share Posted November 27, 2011 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 More sharing options...
Share Posted November 27, 2011 I also have the same problem. It looks like 'proportionalInside' is stretching the video. I am using the latest version. Link to comment Share on other sites More sharing options...
Share Posted November 27, 2011 Yeah, I'm so sorry about that - it was a bug introduced a few days back that caused this behavior and it should be fixed in the latest version. Again, my apologies. If you update now, you should be in good shape but let me know if you run into anything else. Link to comment Share on other sites More sharing options...
Share Posted November 27, 2011 Yeah. I'm so grateful about your work... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now