kennylerma opened a new issue #81: Missing dependency when using a built-in 
javascript interface
URL: https://github.com/apache/royale-compiler/issues/81
 
 
   ```as3
   var url:String = "somefile.mp4";
   var data:Object = new Blob([new Uint8Array(url)], {type:"video/mp4"} as 
BlobPropertyBag));
   ```
   In this case, **{type:"video/mp4"} as BlobPropertyBag** is causing a missing 
dependency for BlobPropertyBag.
   BobPropertyBag is a built-in interface of javascript.  If I don't cast using 
BlobPropertyBag, it won't compile.  However, when I run it, the dependency is 
missing.
   
   I also tried creating a new class that implements the interface, but 
BlobPropertyBag dependency is still missing.
   ```as3
   package interfaces 
   {
        public class BlobProperties implements BlobPropertyBag
        {
                private var _type:String = "";
                
                public function BlobProperties() 
                {
                        
                }
                
                /* INTERFACE BlobPropertyBag */
                
                public function get type():String 
                {
                        return _type;
                }
                
                public function set type(value:String):void 
                {
                        _type = value;
                }
        }
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to