First, go to http://www.haxenme.org/download and install NME.
Since Cordova support is a beta feature, we will continue to improve NME's support of Cordova over time. If you want, you can get the latest development build here:
# version: 1.0.1 | |
# latest source: https://gist.github.com/bitinn/22f6fefe026d8d9e83468864edb8f835 | |
import bpy | |
import os | |
def kmi_props_setattr(kmi_props, attr, value): | |
try: | |
setattr(kmi_props, attr, value) |
package; | |
import openfl.Lib; | |
import openfl.display.Shader; | |
import openfl.filters.BitmapFilter; | |
import openfl._internal.renderer.RenderSession; | |
import openfl.geom.Point; | |
/** | |
* ... |
First, go to http://www.haxenme.org/download and install NME.
Since Cordova support is a beta feature, we will continue to improve NME's support of Cordova over time. If you want, you can get the latest development build here:
function hideAddressBar() | |
{ | |
if(!window.location.hash) | |
{ | |
if(document.height < window.outerHeight) | |
{ | |
document.body.style.height = (window.outerHeight + 50) + 'px'; | |
} | |
setTimeout( function(){ window.scrollTo(0, 1); }, 50 ); |
Copyright © <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
# Why Ruby is Fun | |
# Everything is an object | |
5.times {|x| puts x} | |
# Even nil is an object | |
puts nil.nil? | |
# Yes, nil is an object | |
nil.methods.each {|x| puts x} |