/ Published in: ActionScript 3
Expand |
Embed | Plain Text
// create the SWFExplorer object var explorer:SWFExplorer = new SWFExplorer(); // pass the current SWF bytes and specify that you want to discover the current GPU mode // you would pass SWFExplorer.CLASSES to discover the linked classes explorer.parse( loaderInfo.bytes, SWFExplorer.ACCELERATION ); // affiche : true trace( explorer.acceleration == SWFExplorer.GPU ); // affiche : false trace( explorer.acceleration == SWFExplorer.DIRECT ); // affiche : false trace( explorer.acceleration == SWFExplorer.NONE );
You need to login to post a comment.
