Results 1 to 2 of 2
  1.    #1  
    Ok so right now when I press a button I have it trigger this.chooseVideo and it works fine when I have it set for an image but when I have it set for video, it won't load the file picker...

    Code:
    Mojo.FilePicker.pickFile( {
    	kinds: ["video"],
    	actionName: $L("Select Video"),
    	actionType: "attach",
        onSelect: function(file){
    		imgsrc = file.fullPath;
    		this.picmodel["value"] = "Change Video";
    		this.controller.modelChanged(this.picmodel, this);
    		}.bind(this)
     }, this.controller.stageController);
    Is there something wrong with this?...
  2.    #2  
    Well, I've also noticed that if I add "image" to the kinds object, it does work, but I need it to be video only...

Posting Permissions