i´m starting customize/improve old audio editor project. can import audio tracks canvas via drag&drop computer. thing use audio tracks stored in server clicking on list of available tracks... instead of use <input type="file"> tags. how can read server side files filereader?ajax perhaps? in advance. this code file reader: player.prototype.loadfile = function(file, el) { //console.log(file); var reader = new filereader, filetypes = ['audio/mpeg', 'audio/mp3', 'audio/wave', 'audio/wav'], = this; if (filetypes.indexof(file.type) < 0) { throw('unsupported file format!'); } reader.onloadend = function(e) { if (e.target.readystate == filereader.done) { // done == 2 $('.progress').children().width('100%'); var onsuccess = function(audiobuffer) { $(el).trigger('audiee:fileloaded', [audiobuffer, file]); ...
hello i've been curious know possible create own button, in example in photoshop. use "custom button" in place of default ones in scene builder. or there import function can use custom button? started using scene builder not familiar around can , cant do. thank you! being specific want mold imagine shape. use molded image button. not want use tradition button shape instead custom shape. im not sure if possible tips grateful! you can style button using css . if such styling insufficient purposes, can create custom button skin . if need additional properties button, can subclass button or buttonbase (this how javafx internally implements other button-like things additional properties such checkboxes, togglebuttons, radiobuttons, etc). either way scene builder doesn't care, there nothing special in scene builder , either option works scene builder. use scene builder place "normal" buttons in application's fxml files , set appropriate...
Comments
Post a Comment