---
title: "FLVPlayback的smoothing设置"
author: "kingour1986"
date: "2012-06-11T16:45:18Z"
tags: ["FLVPlayback", "as2", "as3"]
categories: ["Web前端"]
slug: "flvplayback-smoothing"
draft: false
lastmod: "2012-06-11T16:48:08Z"
id: 1558485
url: "https://kingour.iteye.com/blog/1558485"
---

FLVPlayback的smoothing属性设置在as2和as3下使用迥异，今天google后发现as2也可以对视频进行smoothing处理。

 

     AS3：

```
var videoPlayer:VideoPlayer = flvPlayback.getVideoPlayer(flvPlayback.activeVideoPlayerIndex);
videoPlayer.smoothing = true;
```

 

     AS2:

```
flvPlayback.getVideoPlayer(flvPlayback.activeVideoPlayerIndex)["_video"].smoothing = true;
// 需要使用Array访问_video属性
```

 

原文地址：[FLVPlayback&Smoothing](http://www.actionscript.org/forums/showthread.php3?t=140535 "FLVPlayback&smoothing")