actionscript 3 - Loader - Error #2036: Load Never Completed (random times) -
some computers windows 7 keep getting #2036 error few or more days, , other not (everything loaded correctly).
its not wrong path or case sensitive file name, because works , official youtube code.
using
var loaderreferences:dictionary = new dictionary(); var loader:loader = new loader(); loaderreferences[0] = loader;
to avoid gc didn't help.
using
loader.load(new urlrequest( "http://www.youtube.com/apiplayer?version=3&nocache="+new date().gettime()));
to avoid cache didn't help.
clear flash cache didn't help.
update flash player didn't help.
flash has access internet , load else, different domain success.
i read lot in google , tried every solution found.
security.allowdomain("www.youtube.com"); var loader:loader = new loader(); loader.contentloaderinfo.addeventlistener(event.init, onloaderinit); loader.contentloaderinfo.addeventlistener(ioerrorevent.io_error, nofile); loader.contentloaderinfo.addeventlistener(securityerrorevent.security_error, onsecurity); loader.load(new urlrequest("http://www.youtube.com/apiplayer?version=3"));
Comments
Post a Comment