Chapter 43 Example 1
♥1 |
Line 11 |
Modified 2010-02-10 12:50:51 |
MIT License
archived:2017-03-20 03:51:44
ActionScript3 source code
/**
* Copyright actionscriptbible ( http://wonderfl.net/user/actionscriptbible )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/djFD
*/
package {
import com.actionscriptbible.Example;
import flash.external.ExternalInterface;
public class ch43ex1 extends Example {
public function ch43ex1() {
if (ExternalInterface.available) {
trace(ExternalInterface.call("function(){return navigator.userAgent}"));
}
}
}
}