2 Replies Latest reply on Mar 17, 2010 11:36 AM by bugreport22

    Loop property not working

    bugreport22

      Hi,

       

      how as you can see Im working for several days with osmf and testing around. Now I have the problem when I'm loading two swfs in a serial composition with a duration of e.g 5 seconds and set then mediaplayer.loop = true. After the second elements appear it stops and didnt start at the begin.

       

       

       

      var
      
      
      new MediaContainer();
                          container.addMediaElement(mediaElement);
                          mediaHolder.addChild(container);
                          mediaPlayer = 
      
      new MediaPlayer();                    mediaPlayer.media = mediaElement;
                          mediaPlayer.loop = 
      
      true;
      
      
       mediaElement:MediaElement = new MediaElement();                    mediaElement = smilMediaGenerator.createMediaElement(smilDocument);
                          container = 
      

       

       

       

       

       

       

       

       

       

       

      .