FLVPlayback Video Smoothing

Andrew Wason from Motionbox Inc. sent me the following workaround, which allows you to activate video smoothing for FLVPlayback components (in this case the instance FLVPlayer):

MovieClip(FLVPlayer.getVideoPlayer(FLVPlayer.activeVideoPlayerIndex))._video.smoothing = true;

By converting the component video player’s data type to a MovieClip, you get around the video player’s access control and can directly access its video object. This way you can then change its smoothing parameter.

See it for yourself:

Thanks again to Andrew for sharing this workaround.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
This is the solution we are looking for but, we couldnt find a way of converting the component video player’s data type to a MovieClip?
# Posted By Matt | 10/8/07 8:33 PM
just name the instance of the component FLVPlayer
# Posted By joni | 10/23/07 10:07 AM
Simple and effective. Thanx :)
# Posted By Jakob E | 11/5/07 5:19 AM
Cool, thanks for the hint! Fullscreen video looks so much better with this!
Peace,
kolt
# Posted By kolt | 1/18/08 2:45 AM
I get an error that says... Type Coercion failed: cannot convert fl.video to type MovieClip
# Posted By matt | 1/22/08 11:47 AM
matt: I changed it to
flv.getVideoPlayer(flv.activeVideoPlayerIndex).smoothing = true;

and it WORKS
flv is the FLVPlayback instance name.
# Posted By leepa | 2/21/08 12:58 AM
hi thanks for this i was looking for his for about 3 hours thankx again

psc.rephixartlab.com
# Posted By Jose | 3/24/08 1:21 PM
flv.getVideoPlayer(flv.activeVideoPlayerIndex).smoothing = true;
**flv is the FLVPlayback instance name**

This freaking works!!! I'd hump your leg if you were right here. This is the only place I can find the fing answer on the entire internet. THANK YOU GUYS
# Posted By Todd | 5/2/08 10:21 PM
cool!! but hardware accellation dosen't working with fullscreen mode. Plz help!
# Posted By flux | 7/12/08 1:23 PM
For me, trying to cast it as a MovieClip failed, but luckily someone figured out that it works if you dont cast it.

flv.getVideoPlayer(flv.activeVideoPlayerIndex).smoothing = true;

Thanks!
# Posted By Phil | 8/8/08 1:13 AM
Cool, thanks for the hint! Fullscreen video looks so much better with this.
# Posted By Oyun | 11/15/08 1:05 AM
hi thanks for this i was looking for his for about 3 hours thankx again
# Posted By Oyunlar | 3/31/09 1:07 PM
matt: I changed it to
flv.getVideoPlayer(flv.activeVideoPlayerIndex).smoothing = true;

and it WORKS
flv is the FLVPlayback instance name.

THAT WORKED FOR ME TOO!! THANKS FOR POSTING THAT FOLLOW UP!
# Posted By frost | 4/28/09 4:02 PM
it doesn't work to me!

I'm usig flash cs3 with AS2,... and a video converter from youtube (the flv with VLC player looks smooth in any scale)

any help??
# Posted By javiero | 6/4/09 11:00 AM
hey javiero. Same but heres my fix.

MovieClip(FLVPlayer.getVideoPlayer(FLVPlayer.activeVideoPlayerIndex))._video.smoothing = true;

Just name the instance of the flv component FLVPlayer.
# Posted By mike | 10/4/09 9:45 PM
THANX A LOT! It was driving my nuts!
# Posted By Ricardo | 10/23/09 6:26 PM
Hi:
Thanks for the info, but I beleive it´s not necessary to convert the FLV to a MovieClip.

This works too:
FLVPlayback.getVideoPlayer(FLVPlayback.activeVideoPlayerIndex).smoothing = true;
# Posted By Tahi | 12/15/09 2:44 AM
Thanks for the great solution. now I have a question: this action works perfectly when tested within the Flash environment, but I do not work when I put the swf in a html how should be the action in this case? that does not work = (
# Posted By cayayo | 5/26/10 7:43 AM
Muchas gracias maestro!! esto soluciona perfectamente el smooth al redimensionar mis videos.
# Posted By Andrés | 6/21/10 8:53 AM
Thanks for the nice information...
# Posted By Flv Player | 9/6/10 12:28 AM
Thanks for sharing a nice informative post..
# Posted By Contus | 10/24/10 10:54 PM
Thanks for this, very helpful - why is smoothing not on by default??
# Posted By Peter | 10/27/10 3:23 PM
Great! Easy and effective!
# Posted By Clemens | 10/28/10 1:53 AM
Hi I know this is an old thread but hopefully you can still help. Trying to use this code to switch on smoothing for a video using Flash CS3 / AS3.
I'm using the FLVPlayback component and have tried every combination of the code listed - I can get the project to compile and publish without errors but no matter what I do the smoothing is definitely NOT turned on on my video when viewed through
IE or Firefox. Tearing my hair out here - anything else I may have missed or need to do??

Many thanks in advance
Rob
# Posted By Rob Gibby | 11/19/10 9:56 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.7.002.