Questions tagged [preloadjs]

A JavaScript library that lets you manage and coordinate the loading of assets. It has a built-in plugin model to assist with preloading in other CreateJS libraries.

TweenJS is a JavaScript library that lets you manage and coordinate the loading of assets. It has a built-in in plugin model to assist with preloading in other CreateJS libraries.


Resources


Related tags

84 questions
0
votes
1 answer

preloadjs + howler audio doesn't play

I was trying to make my first website. I'm working on local, so if you need an online website for debug it, I can upload it. I want to create a preload section on the first visit where show a preload bar/% progress and load all elements before show…
Wolftrick
  • 81
  • 1
  • 10
0
votes
1 answer

preloadjs for font preloading in canvas

I use preloadjs for font loading (the font is local to my computer) in a canvas area but the font is displayed only after a page refresh. The text is in my_text and the font is the "digital-7.ttf" in the following code: var stage = new…
0
votes
1 answer

PreloadJS with Spritesheet: FILE_LOAD_ERROR

My code: var queue = new createjs.LoadQueue(false); queue.on('complete', onComplete, this); queue.on('error', onError, this); queue.on('progress', onProgress, this); queue.loadManifest([ { src: "images/ground.json",…
Matthias Ma
  • 103
  • 1
  • 6
0
votes
0 answers

Loading Sound using Preloadjs fails, but does not call error event

I use the following code to load and play a sound using the CreateJS library. This works fine, but the problem is that neither callback is called when a file could not be loaded, for example the sound does not exist on the server (this is a valid…
Ferry Kranenburg
  • 2,625
  • 1
  • 17
  • 23
0
votes
2 answers

Remove preload element in CSS

I designed a template-based web page: Website Whenever a page is loading there's a horrible brown circle (with transparency) that appears in the front and it shouldn't. The only thing my template service provider allows me in the code is to include…
Andres
  • 57
  • 1
  • 9
0
votes
1 answer

EaselJS Spritesheet and Bitmap ColorFilterMatrix

I am loading spritesheets individually for each sprite on demand using PreloadJS with JSON files. Now, I would like to apply a ColorMatrixFilter to the Sprites or Spritesheet. After some research I found this snippet from Lanny…
0
votes
1 answer

How to load assets with priority using preloadjs?

I want to load assets using priority. I wrote an abstract class which will handle the preloadjs queue using priority. Is there any better way to achieve this?
keelbo
  • 19
  • 3
0
votes
0 answers

preloadjs getResult(audio) doesn't work

I am trying to use preloadjs to load mp3 file. I also use HTMLAudioPlugin in Soundjs, but when I want to get the audiodom as use getResult function, it doesn't work in ios but not in chrome. preloadManifest = [{src: "bgm.mp3", id: 'bgm',…
yvonne
  • 1
0
votes
1 answer

preload asynchronously css images and sounds

All of the assets of the site are in an array of objects that will be shown after user interaction, something like a…
Tyra Pululi
  • 436
  • 1
  • 7
  • 19
0
votes
0 answers

How to do sequency sounds using Adobe Flash (Animate) HTML5 Canvas Javascript

I want to play sequency sounds in one frame. I tried a lot of methods, but the sounds generally are mixing or colliding. Main idea is that there is a queue which is like playlist and automatically pop it in this queue after the playing sound or it…
sbk
  • 1
  • 1
0
votes
1 answer

Updating npm package of preload-js 0.6.3 but still the version inside file showing 0.4.1

I'm working in node environment. I have installed preload-js node modules from https://www.npmjs.com/package/preload-js. The displaying version is 0.6.3. The package.json is also showing the same version. "preload-js": "^0.6.3", But inside the…
0
votes
1 answer

How to avoid a tainted canvas when using createJS?

I see three places to indicate I want a crossOrigin image: using true for the third parameter (which the documentation says is deprecated) of createjs.LoadQueue, setting the loadItem.crossOrigin property (either assigning "Anonymous" or using…
Spock
  • 3
  • 3
0
votes
1 answer

CreateJS - Image bitmap doesn't alway show up

I suspect that the answer will lie in PreloadJs, however, I've removed my tinkering around with it in my code to simplify it. Here is the most important part: let stage = new createjs.Stage('easel'), bitmap = new…
David Archibald
  • 1,431
  • 14
  • 27
0
votes
1 answer

ES6, PreloadJS and scope

In PreloadJS' callback functions I'm losing scope. Have tried different methods such as an arrow function (which aren't valid on the highest level etc... Any tips? (sorry for the malformed code block (class defenition etc), still getting used to…
0
votes
3 answers

CreateJs/Preloadjs moduleLoad encode images in manifest

I have html5 creative build using create js which tries to load images from manfiest.Can we replace the image path with encoded image to build inline html Existing code: manifest: [ {src:"images/test_logo.png", id:"test_logo"}, …