Skip to content

Commit eaff03e

Browse files
author
Lanny McNie
committed
Updated README. Contains fixed links to docs, as well as other information that had not been updated in some time.
1 parent 17bf55c commit eaff03e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@
22

33
PreloadJS is a library to make working with asset preloading easier. It provides a consistent API for loading different
44
file types, automatic detection of XHR (XMLHttpRequest) availability with a fallback to tag-base loading, composite
5-
progress events, and a plugin model to assist with preloading in other libraries such as [SoundJS](http://www.soundjs.com).
5+
progress events, and a plugin model to assist with preloading in other libraries such as [SoundJS](http://www.createjs.com/soundjs/).
66

77
## Example
88

99
```javascript
10-
var preload = new createjs.LoadQueue(false);
11-
preload.addEventListener("fileload", handleFileComplete);
12-
preload.loadFile('http://createjs.com/assets/images/png/createjs-badge-dark.png');
10+
var queue = new createjs.LoadQueue(false);
11+
queue.on("fileload", handleFileComplete);
12+
queue.loadFile('http://createjs.com/assets/images/png/createjs-badge-dark.png');
1313
function handleFileComplete(event) {
1414
document.body.appendChild(event.result);
1515
}
1616
```
1717

1818
## Support and Resources
1919
* Find examples and more information at the [PreloadJS web site](http://www.preloadjs.com/)
20-
* Read the [documentation](http://createjs.com/Docs/PreloadJS/)
20+
* Read the [documentation](http://createjs.com/docs/preloadjs/)
2121
* Discuss, share projects, and interact with other users on [reddit](http://www.reddit.com/r/createjs/).
2222
* Ask technical questions on [Stack Overflow](http://stackoverflow.com/questions/tagged/preloadjs).
2323
* File verified bugs or formal feature requests using Issues on [GitHub](https://github.com/createjs/PreloadJS/issues).
24-
* Have a look at the included [examples](https://github.com/CreateJS/PreloadJS/tree/master/examples) and [API documentation](http://createjs.com/Docs/PreloadJS/) for more in-depth information.
24+
* Have a look at the included [examples](https://github.com/CreateJS/PreloadJS/tree/master/examples) and
25+
[API documentation](http://createjs.com/docs/preloadjs/) for more in-depth information.
2526

2627
Built by [gskinner.com](http://www.gskinner.com), and is released for free under the MIT license, which means you can
2728
use it for almost any purpose (including commercial projects). We appreciate credit where possible, but it is not a requirement.
@@ -31,4 +32,4 @@ use it for almost any purpose (including commercial projects). We appreciate cre
3132

3233
**LoadQueue**
3334
The main class that manages all preloading. Instantiate a LoadQueue instance, load a file or manifest, and track
34-
progress and complete events. Check out the [docs](http://createjs.com/Docs/PreloadJS/) for more information.
35+
progress and complete events. Check out the [docs](http://createjs.com/docs/preloadjs/) for more information.

0 commit comments

Comments
 (0)