7 Replies Latest reply on May 26, 2010 9:05 AM by bringrags

    Bug with TextElement?

    kkonrad

      This doesn't work for me:

       

      serialElement.addChild(new DurationElement(3, new TextElement("War was Beginning.")));
      
      

       

      What I get is:

       

       

      1067: Implizite Umwandlung eines Werts des Typs flash.text.engine:TextElement in einen nicht verwandten Typ org.osmf.media:MediaElement.
      

       

      Its german, so this is the translation:

       

      1067: Implicit coercion of a value of type void to an unrelated type...

       

      In the example player

      import org.osmf.examples.text.TextElement;
      
      

      is used.

       

      But it looks like its not supported no more. Am I correct?