dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: setting flv duration

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

    setting flv duration

    Hi there

    I'm using a variable (_root.videotoplay) to select an FLV and play it in the MM player:

    mediadisplay.setMedia(_root.videotoplay, "FLV");

    Problem is, the various FLVs are different in length, so I want to dynamically set the duration of each FLV.

    Can anyone help with this?
    G

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    493
    Hi there,
    resolved the problem using

    mediadisplay.totalTime = 151;

    nice and easy
    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