PDA

View Full Version : FLVPlayback & Smoothing


Bittarman
06-29-2007, 01:40 PM
Ok, i know this must be possible, but maybe ive been thinking about this too hard all day.

I want my FLVPlayback component to have smoothing when the stage goes fullscreen, and i found a lovely snippit of code on the Actionscript 3 referance

FLVPlayer.getVideoPlayer(FLVPlayer.activeVideoPlay erIndex)).smoothing = true;

Only when i try this i get an error saying that my flvplayer component cannot be converted into a movieclip class..

Now as the guy who posted this on http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/media/Video.html
got a thankyou im guessing it should work.

please help!:)

insomniac42
03-11-2009, 11:23 AM
For anyone who's still having this problem, use this in AS3:

var videoPlayer:VideoPlayer = flvPlayback.getVideoPlayer(flvPlayback.activeVideo PlayerIndex);
videoPlayer.smoothing = true;

Or this in AS2:

flvPlayback.getVideoPlayer(flvPlayback.activeVideo PlayerIndex)["_video"].smoothing = true;

(You need to use the Array access operator for the _video property because it's a private variable)