1 Reply Latest reply: Feb 13, 2012 4:16 AM by tumdax RSS

    org.osmf.metadata.Metadata undefined method addValue ?




      I'm working with the open source code for OSMF. I'm using the ManifestParser class (org.osmf.elements.f4mClasses) which imports the Metadata class.

      As Metadata is defined in the API (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/org/osmf/metadata/Metad ata.html), I figured I could just use: import org.osmf.metadata.Metadata


      When I try to compile, I get an error: "line: 779, call to a possible undefined method addValue", although this method is referenced in the API.

      (same on lines 780 to 783)


      So I tried to put the Metadata class directly in my project's library and imported it from there but it doesn't make any difference. And I can see that the method is defined...


      Maybe I' mmissing something and someone can help me ? Thanks a lot.

      By the way, I'm using Flashdevelop.