PDA

View Full Version : [AS3] flvplayback skin blurry on fullscreen


tioan
10-18-2011, 12:24 PM
Hi all,
i have made a custom skin for my flvplayback component which works fine. The only problem is that when i go fullscreen the skin becomes all blury and the quality is awful. I use vector graphics in my custom skin.
My first thought is that it is caching the skin as a bitmap so in my flvplayback file i have used a for loop to set every asset of the skin (and the skin itself) to cacheAsBitmap=false.
I also tried to make every asset's position to integer.
flvPlayback.addEventListener(VideoEvent.SKIN_LOADE D,onSkinLoad)
function onSkinLoad(e:VideoEvent)
{

var skin_mc=flvPlayback.getChildAt(1); //this is the skin instance
skin_mc.cacheAsBitmap=false
for (var i=0;i<skin_mc.numChildren;i++){
trace(i+" "+skin_mc.getChildAt(i))
skin_mc.getChildAt(i).cacheAsBitmap=false
skin_mc.getChildAt(i).x=Math.round(skin_mc.getChil dAt(i).x)
skin_mc.getChildAt(i).y=Math.round(skin_mc.getChil dAt(i).y)
}
}

The above didn't work and i really need to make it work. Is there anything you can suggest?
Thanx in advance.

tioan
10-18-2011, 01:37 PM
for anyone intersted you need to set

flvPlayback.skinScaleMaximum = 1;