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/Metadata.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.
Well, I noticed that a variable called metadata is declared as a ByteArray on line 651 in ManifestParser.as
On line 778, another variable with the same name metadata is declared as Metadata.
It probably shouldn't have been a problem, but I changed the name of this second variable and I didn't get the error anymore...
Europe, Middle East and Africa