4 Replies Latest reply on Apr 27, 2010 1:29 PM by Mr Binitie

    SerialElements fire trait events irrespective of Duration on added medium

    Mr Binitie Level 1

      I've been tracking the response of  the MediaElementEvent when listened to by a SerialElement. The Serial  Element has an image set to change after 3 secs and a video. In my  output the moment the SerialElement starts the TraitRemove and TraitAdd  events are fired immediately even though the duration is actually  respected on stage. Any ideas??

       

      The image is displayed here - for 3 secs,

      However it seems the Video also starts here.

      ::  0000000000000000 CHANGE 000000000000000 [Event type="traitAdd"  bubbles=false cancelable=false eventPhase=2]

      ::panel index = 1

      ::  position.text = ""0

      ::  position.text = ""1

      ::  position.text = ""2
      l
      ::  position.text = ""3

      ::  0000000000000000 CHANGE 000000000000000 [Event type="traitAdd"  bubbles=false cancelable=false eventPhase=2]
      I would expect the position text to be 0 again since there has been a change of media but its already 4 seconds into the video
      ::  panel index = 0

      ::  seekBar.maximum = 30

      ::  position.text = ""4

      ~@~