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.
ActionScript Code:
flvPlayback.addEventListener(VideoEvent.SKIN_LOADED,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.getChildAt(i).x)
skin_mc.getChildAt(i).y=Math.round(skin_mc.getChildAt(i).y)
}
}
The above didn't work and i really need to make it work. Is there anything you can suggest?
Thanx in advance.