This is working in safari on Mac and firefox. The image will not load on the Ipad. Any Ideas?
Here is the code:
var canvas, stage, exportRoot, offset, zoomIn, zoomOut, image, schematic;
function init() {
canvas = document.getElementById("canvas");
stage = new createjs.Stage(canvas);
createjs.Touch.enable(stage);
images = images||{};
var manifest = [
{src:"images/schematic.png", id:"_95Z7FanBrakeHydDiagramColored"}
];
var loader = new createjs.PreloadJS(false);
loader.onFileLoad = handleFileLoad;
loader.onComplete = handleComplete;
loader.loadManifest(manifest);
}
function handleFileLoad(o) {
if (o.type == "image") { images[o.id] = o.result; }
}
function handleComplete() {
schematic = new lib.Schematic();
stage.addChild(schematic);
createjs.Ticker.setFPS(60);
createjs.Ticker.addListener(stage);
zoomIn = new lib.ZoomIn();
zoomIn.x=10;
zoomIn.y=10;
stage.addChild(zoomIn);
zoomOut = new lib.ZoomOut();
zoomOut.x=10;
zoomOut.y=70;
stage.addChild(zoomOut);
addListeners();
stage.update();
}