This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(k) { | |
var Button = function(a, x, y) { | |
this.initialize(a,x,y) | |
},p = Button.prototype = new DisplayObject; | |
p.left = 0; | |
p.top = 0; | |
p.ypos = 0; | |
p.image = null; | |
p.snapToPixel = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>index</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> | |
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script> | |
<style type="text/css"> | |
#flashContent{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Creative JS</title> | |
<script src="creativejslibs/easel.js"></script> | |
<script src="creativejslibs/tween.js"></script> | |
<script> | |
var canvas; | |
var stage; | |
function init () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a new Text object, and position it on stage: | |
var txt = new Text("text on the canvas.", "36px Arial", "#FFF"); | |
txt.textBaseline = "top"; // draw text relative to the top of the em box. | |
txt.x = 100; | |
txt.y = 80; | |
txt.rotation = 20; | |
//txt.outline = true; | |
stage.addChild(txt); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Creative JS</title> | |
<script src="creativejslibs/easel.js"></script> | |
<script src="creativejslibs/tween.js"></script> | |
<script> | |
var canvas; | |
var stage; | |
function init ( ) { |