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
0 answers

Using PreloadJS and SoundJS in React app to preload sounds

I’m trying to use PreloadJS and SoundJS in a React app to preload all sounds and then play from the preloaded cache. I can't figure out how to create the LoadQueue and load the sounds in one component (top level: App.jsx ), and play them in a…
rg_
  • 401
  • 1
  • 4
  • 19
1
vote
1 answer

How to change bitmap image in createjs when images are loaded using preloadjs?

I have created a bitmap using an image from the queue. Next, I am trying to change the image by updating the image.src property but it isn't working because it expects a path to the image's location. How can I change the first image to the second…
Diablo3093
  • 963
  • 4
  • 15
  • 26
1
vote
1 answer

Add a fade out with CreateJS gang

Im looking for a way to set up a fade in and fade out with CreateJS.I'm completely new on CreateJS and I wish to create a little advertise of 2 differents layouts, each one with some little layouts inside which they will appear by slide or fade…
user7904412
1
vote
1 answer

PreloadJS - Loading an image from a URL without file format

I'm trying to use PreloadJS to load an image. I took the getting started code from http://www.createjs.com/getting-started so, function loadImage() { var preload = new createjs.LoadQueue(); preload.addEventListener("fileload",…
ido
  • 811
  • 2
  • 8
  • 20
1
vote
1 answer

createjs flash cc, separate manifest preloading

I’ve an animation based html project built on Flash CC and struggling about preloading separately. What I am trying to do is; Load 1 image (says “please wait”) and createjs export. Animation stops at the begining of timeline, call a function…
Heartglen
  • 13
  • 5
1
vote
1 answer

flip book created by createjs and preload js and it's take 15 min. to load the page

flipbook created by createjs and preload js and it takes 15 min. to load the page. it contains more than 300 images. http://www.mentalimage.com.au/perkins/05/index.html How can I resolve this problem?
1
vote
1 answer

preload sound in internet explorer createjs-preloadjs not working

i have to load more than 100 sound files. its working fine in Mozilla , chrome and safari but not working in internet explorer. more than 60 sounds also not loading perfectly in internet explorer what is the maximum sound files we can load at a…
1
vote
0 answers

Duplicate audio files in preloadjs manifest for LoadQueue

I am populating a manifest array for use by preloadjs's LoadQueue class. In the manifest, I am referencing sources to both audio and image files while creating unique ids for each. This all had been working great. However, as the audio/image files…
1
vote
0 answers

Cordova loading XML and JSON files with PreloaderJS (CreateJS) doesn't work

I'm developing an HTML5 game with CreateJS and I'm using Cordova to build for Android and iOS platforms. The problem is that on iOS, the .xml and .json files are not loaded with PreloaderJS. I have a xml file and I try to load it: _loader = new…
1
vote
1 answer

I can't load Spritsheet CreateJS in Cordova projects ( ISO 9 )

I use PreloadJs to load the SpritSheet: manifestLoad: any[] = [ { "src": "spriteSheet.json", "id": "spriteSheet-json", "type": createjs.AbstractLoader.SPRITESHEET }]; loadQueue.loadManifest(manifestLoad, true,…
p3c
  • 133
  • 7
1
vote
1 answer

PreloadJS - Does not load spritsheet image

I'm using PreloadJS to load a spritesheet. The code was generated from the Animate CC, and is as follows: function init(id, basePath) { idAtividade = id; images = images||{}; ss = ss||{}; var loader = new createjs.LoadQueue(true,…
Evolua
  • 11
  • 2
1
vote
2 answers

Adding Preloader on Animate CC

I'm new in Adobe Animate. Is there a way for adding a preloader for loading image assets when creating a Canvas in Adobe Animate CC? Is it the same way as inserting the loadqueue class on the html file after the Animate CC has published the html and…
Iverson
  • 179
  • 3
  • 11
1
vote
1 answer

How to import multiple images as one sprite in Createjs EaselJS?

I have to multiple images merged as one sprite image. These images are not part of some animation, it's just different static images. I need to load them somehow in Createjs/EaselJS but I don't know the template of json for spritesheet data. All…
zur4ik
  • 6,072
  • 9
  • 52
  • 78
1
vote
0 answers

Support for webM and webA files in soundJs and preloadJs

I would like to ask if preloadJS and soundJS libraries support the use of webM and webA video/audio files, because I am having trouble using them. A sample of my code : //Plugin setup and preload files createjs.Sound.alternateExtensions = ["weba"];…
ktsangop
  • 1,013
  • 2
  • 16
  • 29
1
vote
0 answers

Loading remote files via PreloadJS in IE9

I have problem with the following snippet of code