A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Re-sizing MediaPlayBack to exact flv dimensions

  1. #1
    Senior Member
    Join Date
    May 2001
    Posts
    493

    Re-sizing MediaPlayBack to exact flv dimensions

    Hi there,

    Hoping someone can help with this -- Is there a way to resize the MediaPlayback component on the stage so that is fits the dimensions of the flv exactly?

    At the moment, I can get it to play almost exactly but surely there is a way to get it exact eg. i have a video 480x270 (playing on a cd), what size should the component be on stage?

    Cheers for any help/time you can give
    G

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    493
    After looking at a load of tech notes and various bits n pieces, I've found that one way to set the exact size of the media viewer is to use the separate components - ie MediaDisplay and MediaController. Doing it this way you can make the display the exact dimensions of your flv, then drop in the controller and link them up. Theres good notes in the flash help files

    G

  3. #3
    Member
    Join Date
    Jul 2001
    Posts
    58
    Please could you explain how to resize the media controller to the same size of the MediaDisplay, and therefore to the same size of the FLV? Do you resize it with ActionScript? THX

  4. #4
    Senior Member
    Join Date
    May 2001
    Posts
    493
    very str8forward,
    set the width and height as you would any symbol or movieclip in properties area and hey presto.
    G

  5. #5
    Media Services
    Join Date
    Jul 2004
    Posts
    252

    Re: Re-sizing MediaPlayBack to exact flv dimensions

    Originally posted by glasjazz
    Hi there,

    Hoping someone can help with this -- Is there a way to resize the MediaPlayback component on the stage so that is fits the dimensions of the flv exactly?

    At the moment, I can get it to play almost exactly but surely there is a way to get it exact eg. i have a video 480x270 (playing on a cd), what size should the component be on stage?

    Cheers for any help/time you can give
    G
    Depands...you can use Media Display and Media Controll separately and then Media Display will be set to exact FLV size.

    You can also DOWNLOAD FREE DEMO of our player and check AUTORESIZE function... maybe this is what you are looking for.

  6. #6
    Senior Member
    Join Date
    May 2001
    Posts
    493
    tnx proxus,
    got it working - will check out your player all the same!
    G

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