STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
Visit the flash's index page for basic data and a list of seen names.
Threads (1):
File: superflash.swf-(2 KB, 550x400, Other) [_] The one flash to rule them all Anon 2997212 >> [_] Anon 2997213 You could do lower than 2KB. What's hiding in this flash? >> [_] Anon 2997214 it doesn't work properly outside of the local flash player - any ideas on how to fix it? >> [_] Anon 2997217 Sauce code: var info:LoaderInfo = loaderInfo; var selfURL = info.loaderURL; trace(selfURL); var loader:URLLoader = new URLLoader(); loader.load(new URLRequest("https://a.4cdn.org/f/catalog .json")); loader.addEventListener(Event.COMPLETE, ParseJSON); function ParseJSON(e:Event):void { //trace(e.target.data); var decoded : Object = JSON.parse(e.target.data); for each(var thread in decoded[0].threads) { var threadURL = "https://i.4cdn.org/f/" + encodeURIComponent(thread.filename) + ".swf"; var threadURL2 = "http://i.4cdn.org/f/" + encodeURIComponent(thread.filename) + ".swf"; if (threadURL != selfURL && threadURL2 != selfURL) { trace(threadURL); var floader:Loader = new Loader() ; floader.contentLoaderInfo.addEventListen er(Event.COMPLETE, completeHandler ); floader.load(new URLRequest(threadURL)); } } } function completeHandler( eventOBJ : Event ) : void { eventOBJ.target.content.alpha = 0.5; addChild( eventOBJ.target.content ); }; >> [_] Anon 2997218 >># oh.. OK >> [_] Anon 2997219 >># It's not loading >> [_] Anon 2997221 Holy shit. A SWF that exists only to be considered a valid SWF. That shit is zen. >> [_] Anon 2997225 Security.allowDomain("*"); Security.allowInsecureDomain("*"); import flash.system.SecurityDomain; import flash.system.ApplicationDomain; import flash.system.LoaderContext; var loaderContext:LoaderContext = new LoaderContext(); loaderContext.applicationDomain = ApplicationDomain.currentDomain; loaderContext.securityDomain = SecurityDomain.currentDomain; // Sets the security var info:LoaderInfo = loaderInfo; var selfURL = info.loaderURL; trace(selfURL); var loader:URLLoader = new URLLoader(); loader.load(new URLRequest("https://a.4cdn.org/f/catalog .json")); loader.addEventListener(Event.COMPLETE, ParseJSON); function ParseJSON(e:Event):void { //trace(e.target.data); var decoded : Object = JSON.parse(e.target.data); for each(var thread in decoded[0].threads) { var threadURL = "https://i.4cdn.org/f/" + encodeURIComponent(thread.filename) + ".swf"; var threadURL2 = "http://i.4cdn.org/f/" + encodeURIComponent(thread.filename) + ".swf"; if (threadURL != selfURL && threadURL2 != selfURL) { trace(threadURL); var floader:Loader = new Loader() ; floader.contentLoaderInfo.addEventListen er(Event.COMPLETE, completeHandler ); if(Security.sandboxType == Security.REMOTE){ floader.load(new URLRequest(threadURL),loaderContext); }else{ floader.load(new URLRequest(threadURL)); } } } } function completeHandler( eventOBJ : Event ) : void { eventOBJ.target.content.alpha = 0.5; addChild( eventOBJ.target.content ); }; Tried this shit and it still doesn't work. Does Flash have no way to load other SWFs without special security policy settings? |
|