Skip to content

Instantly share code, notes, and snippets.

Created November 12, 2011 00:30
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save koenbok/1359775 to your computer and use it in GitHub Desktop.
UILayer Bug
<html lang="en">
<script type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
<script type="text/javascript">
var UILayer = Move.require("UILayer");
UILayer.debug = true;
var layer = new UILayer();
layer.frame = {x:100, y:100, width:100, height:100};
// layer.animationDuration // Remove me and it won't work!
layer.animated = true;
layer.animationDuration = 500;
layer.frame.x = 500
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment