Adobe Flex – Scale down your video without making it pixelated using Smooth Video Display component
Posted on : 25-03-2009 | By : Michael Fitchett | In : ActionScript, Development, Flex, Video
1
Do your movies look like this because you set the size of the VideoDisplay component to a different size than your source movie?:
Well no need to panic, some cool programmer dude wrote this component “SmoothVideoDisplay” (I think that’s what its called I’m too lazy to google it.) which fixes that problem so your video will look like this:

No jagged edges!
It uses Flash’s video smoothing component which apparently for some reason or another was not made an option in Flex’s VideoDisplay component. Maybe it was another rush thing or something.
Here is what you have to do to set it up:
1. Download the component here SmoothVideoDisplay (683) and extract the SmoothVideoDisplay.as file your “src” directory under a new directory “custom”
2. Add the following to your <application> at the top of your Flex application:
xmlns:custom="custom.*"
3. Now to use it all you have to do is start typing “<custom:SmoothVideoDisplay>”
That’s it simple huh.
Thanks to who ever wrote this component I love it and use it on all of my video based Flex projects.











Thank you soooo much !