Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s):
Browser: Firefox 2.x
Language Found: English
Description
THE BUG IS IN VIDEODISPLAY not VIDEO class.
Steps to reproduce:
1. create a VideoDisplay object in mxml, with it's source property bound to a datagrid
2. at some point change VideoDisplay.playheadTime to any value, it should work as expected
3. now change the video selected through the datagrid, the VideoDisplay plays the new video, and also seeks to the last position in seconds that the previous video was at.
4. if you don't set VideoDisplay.playheadTime at any point in the program, the problem disappears.
in the attached file, if you comment the line #59 , the problem dissapears, even though changing the playheadTime property only happens in an event that doesn't fire at the time the new video loads. so the new video supposedly should revert the playheadTime to zero. which it only does if you don't manipulate playheadTime at all, but if you do, it doesn't reset it anymore.