[]XMLHttpRequest cannot load

我是一个新手。
在按照教学视频进行尝试时,使用IDE运行没问题,但是使用Flash Develop调用谷歌浏览器运行时,显示不出图片。。。应该是资源加载时出了问题?求教
firstGame.max.js:9742 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742
firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json
firstGame.max.js:9742 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.__proto.send @ firstGame.max.js:9742
firstGame.max.js:9142 [error]Failed to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json
2firstGame.max.js:15426 lose skin comp/button.png
2firstGame.max.js:15426 lose skin comp/checkbox.png
file:///F:/Laya/Project/firstGame/bin/h5/comp/bg.png Failed to load resource: net::ERR_FILE_NOT_FOUND
file:///F:/Laya/Project/firstGame/bin/h5/comp/image.png Failed to load resource: net::ERR_FILE_NOT_FOUND
firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/comp/bg.png
firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/comp/image.png
file:///F:/Laya/Project/firstGame/bin/h5/comp/bg.png Failed to load resource: net::ERR_FILE_NOT_FOUND
firstGame.max.js:9142 [error]Failed to load: F:/Laya/Project/firstGame/bin/h5/comp/bg.png
file:///F:/Laya/Project/firstGame/bin/h5/comp/image.png Failed to load resource: net::ERR_FILE_NOT_FOUND
firstGame.max.js:9142 [error]Failed to load: F:/Laya/Project/firstGame/bin/h5/comp/image.png
已邀请:

Monica - 知识达人

赞同来自:

你好
  浏览器访问本地文件时会出现跨域的问题,可以给你的浏览器加个启动参数。详情请参考跨域设置

要回复问题请先

商务合作
商务合作