Loading CORS-enabled images with CreateJS
Andrew Walpole
23

Hi Andrew,

The same issue, i am facing. I am not getting your shared suggestion.

[easeljs-0.8.1.min.js:13 Uncaught An error has occurred. This is most likely due to security restrictions on reading canvas pixel data with local or cross-domain images.]

When i running the file on chrome, and clicking any image, then below message is appearing on console. Could you guide me, where i can modified the code. I have one Mock_UpA.html, Mock_UpA.js, images folder and four lib files easeljs-0.8.1.min.js, movieclip-0.8.1.min.js, preloadjs-0.6.1.min.js, tweenjs-0.6.1.min.js.

And some code of Mock_UpA.js

(function (lib, img, cjs, ss) {

// library properties:
lib.properties = {
 width: 1412,
 height: 960,
 fps: 24,
 color: “#FFFFFF”,
 manifest: [
 {src:”images/_14642364_759590064188938_1048483342947739462_n.jpg”, id:”_14642364_759590064188938_1048483342947739462_n”},
 {src:”images/_3.png”, id:”_3"},
 {src:”images/_818bJpLXp6L_SL1500_.jpg”, id:”_818bJpLXp6L_SL1500_”},
 {src:”images/CompoundPath_0.png”, id:”CompoundPath_0"},
 {src:”images/CompoundPath_2.png”, id:”CompoundPath_2"},
 {src:”images/Path.png”, id:”Path”},
 {src:”images/Path_1_0.png”, id:”Path_1_0"},
 {src:”images/Path_2.png”, id:”Path_2"},
 {src:”images/fusion.jpg”, id:”fusion”},
 {src:”images/goopngcopy.png”, id:”goopngcopy”},
 {src:”images/Mockup.jpg”, id:”Mockup”},
 {src:”images/Mockup_n.jpg”, id:”Mockup_n”},
 {src:”images/text.png”, id:”text”},
 {src:”images/Untitled1.png”, id:”Untitled1"}
 ]
};

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.