Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-14291

Adobe Flex VideoDisplay totaltime property is set to -1 after READY event is fired

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Video
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. I load 4-5 videos in a loop from a local disk ( no path ... just file.flv ) in Flex latest build of 1-23-08 I have an event listener on READY of the VideoDisplay class.

      videoDisplay.addEventListener(VideoEvent.READY,onVideoReady);

      2. The on ready is called since I did call the load. However the property of totaltime is set at -1

      Actual Results:
      If I load one video at a time with a timer than no problem. If I load 4-5 video in a for loop than the totaltime is set to -1.

      Expected Results:
      Expect to get the actual totaltime since READY was fired.

      Workaround (if any):
      A) Load one video at a time and add a timer in between to let Flex Recover .... rrrrrrrrrrr
      B) use the `metadataReceived` event in Flex 3 instead of the `ready` event.
      C) use a timer which gets called X number of times after the ready event is fired and cancel the timer once the totalTime property is > -1.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: