Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-18-2011, 12:24 PM   #1
tioan
Member
 
Join Date: Jun 2006
Posts: 91
Default [AS3] flvplayback skin blurry on fullscreen

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.
tioan is offline   Reply With Quote
Old 10-18-2011, 01:37 PM   #2
tioan
Member
 
Join Date: Jun 2006
Posts: 91
Default

for anyone intersted you need to set

ActionScript Code:
flvPlayback.skinScaleMaximum = 1;
tioan is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:20 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.