A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [RESOLVED] fullscreen flvplayback skin

  1. #1
    Senior Member
    Join Date
    Mar 2006
    Posts
    139

    resolved [RESOLVED] fullscreen flvplayback skin

    i have an FLVPlayback component on my stage to play a single video.
    im using a custom skin with a play/pause button and a full screen button.
    i publish this and stick it in an HTML page and it all works as it's supposed to, hurah.

    however, when i click the fullscreen button and the video plays fullscreen the SKIN for the flv pixelates as though it were an enlarged bitmap.

    i know for a fact that all the flv skin components are vectors cos i made em.
    wondered if skins automatically use cacheAsBitmap and if so is there a way to disable this???

    it doesn't affect functionality but it just look horrible and it would be nice to be able to retain the crips vectors...

    thanks!

  2. #2
    Senior Member
    Join Date
    Jan 2010
    Posts
    141
    Check your setting/property for your skin. There is an option to treat vector as bitmap.

  3. #3
    Senior Member
    Join Date
    Mar 2006
    Posts
    139
    thanks, where is this setting? on the flvplayback instance or in the external skins fla?

  4. #4
    Senior Member
    Join Date
    Jan 2010
    Posts
    141
    Sorry I thought that you were using a skin in your library not externally. I don't think you can set that option. Maybe recreate your skin larger and then use a scaled down version. You can also set a maximum Scale for your skin. Here is a link to some documentation on all settings for FLVplayback:

    http://livedocs.adobe.com/flash/9.0/...VPlayback.html

  5. #5
    Senior Member
    Join Date
    Mar 2006
    Posts
    139
    figured it out, just use:

    Actionscript Code:
    myFLV.skinScaleMaximum = 1;

    although this means importing the FLVplayback instance from the library so you'll need to use:

    Actionscript Code:
    import fl.video.FLVPlayback;
    var myFLV:FLVPlayback = new FLVPlayback();

    addChild(myFLV);
    myFLV.skin = "youexternalskin.swf";
    myFLV.skinScaleMaximum = 1;
    myFLV.source = "myvideoclip.flv";
    myFLV.height=288;
    myFLV.width=512;
    myFLV.x=144;
    myFLV.y=164;
    myFLV.skinBackgroundColor = 0x000;
    myFLV.skinBackgroundAlpha = 1;

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center