Menu

Commit [r678]  Maximize  Restore  History

Fix bug (from Charles) where a SerialElement would dispatch the durationReached event early because the currentTime-duration comparison would return a false positive. The bug was a result of not updating the composite trait's current time value when children are added and removed (thus improving the chance that the duration will have the right value and the current time won't).

briggs@adobe.com 2009-12-18

changed /osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeTimeTrait.as
changed /osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElementWithTimeTrait.as
/osmf/trunk/framework/MediaFramework/org/osmf/composition/CompositeTimeTrait.as Diff Switch to side-by-side view
Loading...
/osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestSerialElementWithTimeTrait.as Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.