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
1
vote
1 answer

PreloadJS doesn't work correctly for elements appended later (in Firefox)

I'm having a problem with how PreloadJS is behaving on Firefox. Actually it's hard for me to believe nobody else was having this problem before (couldn't find anyone describing same behavior) so perhaps I'm just doing something wrong... it works…
1
vote
1 answer

Preload a page in Laravel 5

This my first time asking question on StackOverflow. :-) I have a fairly complex page to be displayed involving 20+ pics, 4+ css, 6+ javascript files to be loaded. Because this page is intended to be displayed on mobile phone, I would love it to be…
Terry L.
  • 11
  • 1
  • 3
1
vote
3 answers

Referencing CreateJS from Flash CC 2015

Does anyone know how to reference createjs from Flash CC 2015? I've been trying out this tutorial page for preloadJS: http://code.tutsplus.com/tutorials/using-createjs-preloadjs-soundjs-and-tweenjs--net-36292 but when running the next line, the…
object404
  • 71
  • 6
1
vote
1 answer

How to reference PreloadJS from my module after shimming?

I was wondering if anyone knows how can I reference PreloadJS from a helper module I have created. My RequireJS configuration looks something like this: require.config({ baseUrl: 'scripts', paths: { preloadjs:…
1
vote
2 answers

Preload howler.js sound files with preloadJS

I have a game that uses preloadJS to load the assets. I'm having all kinds of problems with sound on iPads using soundJS but from tests it seems that audio plays fine using howler.js so I'm thinking about using that library for the iPad. My…
Paul Hastings
  • 11
  • 1
  • 3
1
vote
2 answers

Force PreloadJS to use XHR for all loading

I'm using PreloadJS as part of an application that's being built with the CreateJS libraries. PreloadJS is being used to pull in graphics and audio files listed in a manifest. I've setup a progress bar and hooked the preloader's fileprogress and…
theraccoonbear
  • 4,283
  • 3
  • 33
  • 41
0
votes
0 answers

Electron JS: Renderer process does not maintain data type (blob) from Preload.js

Here is a little bit of my preload.js code. const webmFixDuration = require('webm-fix-duration').webmFixDuration; let fixedBlob = ""; contextBridge.exposeInMainWorld("api", { fixDuration: function (buggyBlob, duration) { if(buggyBlob…
Rikudou
  • 145
  • 6
0
votes
1 answer

HTML video does not play

I'm creating a video like this, based on this CodePen: export function createVideoFromBinary(src, mimeType = 'video/mp4') { let $video = $(`
Hydroper
  • 344
  • 2
  • 9
0
votes
1 answer

Load image with PreloadJS and clone the result

I'm using PreloadJS from CreateJS and am successfully getting an HTMLImageElement: const PreloadedAssets = { logo: null, // ... initializeMisc(loadQueue) { PreloadedAssets.logo = loadQueue.getResult('logo'); …
Hydroper
  • 344
  • 2
  • 9
0
votes
0 answers

I want to add preloader that show loader untill all assets of component is load then show complete website

I am working on my React Website.Here is the link of my websiteI used this simple set timeout its not dynamically I used Suspense lazy load but its not working as i want. Here is the link of website that want to do with my website Click to see
0
votes
1 answer

Is it possible to load a midi file using createjs?

I am working on a createjs app that needs to load midi files as part of its function. I then plan to use midiplayer.js to play the file. However, I cannot find any examples of loading a midi file using createjs. It seems that I would want to load it…
0
votes
1 answer

How to properly use preloads and window.api calls in electron?

I am having trouble using a render.js file to write "api" calls from the rendered html page's javascript. main.js new BrowserWindow function includes: webPreferences: { nodeIntegration: false, // is default value after Electron v5 …
cole
  • 393
  • 1
  • 3
  • 4
0
votes
2 answers

Why do progress events stop firing when I add 'false' to createjs.LoadQueue()?

OK, the docs are messy at best. I have huge issues fading in and out preloaded assets if I do not add 'false' to the instance of PreloadJS. But when I add it I completely lose the progress event ... what is it that's so deeply hidden in the docs,…
user8082874
0
votes
2 answers

PreloadJS loaded image, but I cannot insert it to DOM

I'm trying to preload one image using PreloadJS, then insert it to DOM a twice. But I can insert only one image. var queue = new createjs.LoadQueue(); queue.addEventListener('complete', onComplete); queue.loadManifest([{ id: 'img', type:…
Blackster
  • 343
  • 2
  • 5
0
votes
1 answer

Cannot read property "getContext" of undefined - electron

I'm trying to generate a sprite-sheet dynamically in easeljs after triggering a event from the ipcMain to a window. The problem i'm having is that preloadjs/easeljs trigger this error in the console: Cannot read property "getContext" of undefined It…